From: Andrew Dolgov Date: Tue, 19 Apr 2011 04:13:06 +0000 (+0400) Subject: batch feed editor: fix newer options not working properly X-Git-Tag: 1.5.3~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=dd04ea81bab44837796911945db448974582c1bf;p=tt-rss.git batch feed editor: fix newer options not working properly --- diff --git a/prefs.js b/prefs.js index 2a054df5..d22686ce 100644 --- a/prefs.js +++ b/prefs.js @@ -715,6 +715,21 @@ function editSelectedFeeds() { query = query + "&include_in_digest=false"; } + if (!query.match("&always_display_enclosures=") && + this.getChildByName('always_display_enclosures').attr('disabled') == false) { + query = query + "&always_display_enclosures=false"; + } + + if (!query.match("&mark_unread_on_update=") && + this.getChildByName('mark_unread_on_update').attr('disabled') == false) { + query = query + "&mark_unread_on_update=false"; + } + + if (!query.match("&update_on_checksum_change=") && + this.getChildByName('update_on_checksum_change').attr('disabled') == false) { + query = query + "&update_on_checksum_change=false"; + } + console.log(query); notify_progress("Saving data...", true);