From: Andrew Dolgov Date: Fri, 11 Nov 2011 10:08:33 +0000 (+0400) Subject: prefs: properly save multiple feeds when cache_images param is not present X-Git-Tag: 1.5.7~19 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=01becdcdaa3a1fabf3ccbbec04de501e4a0d8233;p=tt-rss.git prefs: properly save multiple feeds when cache_images param is not present --- diff --git a/prefs.js b/prefs.js index 77031242..98564dfa 100644 --- a/prefs.js +++ b/prefs.js @@ -729,10 +729,12 @@ function editSelectedFeeds() { query = query + "&private=false"; } - if (!query.match("&cache_images=") && - this.getChildByName('cache_images').attr('disabled') == false) { - query = query + "&cache_images=false"; - } + try { + if (!query.match("&cache_images=") && + this.getChildByName('cache_images').attr('disabled') == false) { + query = query + "&cache_images=false"; + } + } catch (e) { } if (!query.match("&include_in_digest=") && this.getChildByName('include_in_digest').attr('disabled') == false) {