From 01becdcdaa3a1fabf3ccbbec04de501e4a0d8233 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 11 Nov 2011 14:08:33 +0400 Subject: [PATCH] prefs: properly save multiple feeds when cache_images param is not present --- prefs.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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) { -- 2.39.5