diff options
author | Andrew Dolgov <[email protected]> | 2011-11-11 14:08:33 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-11 14:08:33 +0400 |
commit | 01becdcdaa3a1fabf3ccbbec04de501e4a0d8233 (patch) | |
tree | b2c6f4d89087188709d3afc5c2d604a429f2ccb8 | |
parent | cb635435b186e4aedbaddf77545c1c73c8c3c3f5 (diff) |
prefs: properly save multiple feeds when cache_images param is not present
-rw-r--r-- | prefs.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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) { |