]> git.wh0rd.org Git - tt-rss.git/commitdiff
batch feed editor: fix newer options not working properly
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 19 Apr 2011 04:13:06 +0000 (08:13 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 19 Apr 2011 04:13:06 +0000 (08:13 +0400)
prefs.js

index 2a054df53f0110307ffc475868d7de6659075890..d22686cee4ec831c234e6eae69db62bd799e312e 100644 (file)
--- 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);