~dpm/ubuntu-rssreader-app/enable-translations

« back to all changes in this revision

Viewing changes to article_items/ArticleFullImg.qml

  • Committer: Tarmac
  • Author(s): Roman Shchekin
  • Date: 2013-09-08 09:03:54 UTC
  • mfrom: (62.1.1 choose-topic-fix)
  • Revision ID: tarmac-20130908090354-3v5tbr814yfcdtx0
Set of minor changes, like:
* ChooseTopicPage - now accept on text field makes two things - appends new topic and selects it.
* Articles*.qml - mark article as read code moved to RssFeedPage.qml (so swipe right and left now makes articles read too)
* Other changes.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
        onClicked:
95
95
        {
96
96
//            console.log(JSON.stringify(rss_item))
97
 
            var dbResult = DB.updateArticleStatus(rss_item.id, "1")
98
 
            if (dbResult.rowsAffected == 1) {
99
 
                rss_item.status = "1"
100
 
            }
 
97
//            var dbResult = DB.updateArticleStatus(rss_item.id, "1")
 
98
//            if (dbResult.rowsAffected == 1) {
 
99
//                rss_item.status = "1"
 
100
//            }
101
101
            mainView.toRssPage(rss_model, model_index)
102
102
        }
103
103
    }