diff --git a/feedlist.js b/feedlist.js index 4171c633d..bfcb943ab 100644 --- a/feedlist.js +++ b/feedlist.js @@ -793,7 +793,6 @@ function setFeedUnread(feed, is_cat, unread) { function setFeedValue(feed, is_cat, key, value) { try { if (!value) value = ''; - if (!treeModel) return; if (is_cat) treeItem = treeModel.store._itemsByIdentity['CAT:' + feed]; @@ -804,7 +803,8 @@ function setFeedValue(feed, is_cat, key, value) { treeModel.store.setValue(treeItem, key, value); } catch (e) { - exception_error("setFeedValue", e); + console.log(e); + //exception_error("setFeedValue", e); } } diff --git a/functions.js b/functions.js index 362fc9888..7e826ab3e 100644 --- a/functions.js +++ b/functions.js @@ -394,8 +394,9 @@ function closeInfoBox(cleanup) { var dialog = dialogs.pop(); - if (dialog) - dialog.hide(); + if (dialog) { + dialog.destroy(); + } } catch (e) { //exception_error("closeInfoBox", e); @@ -408,6 +409,9 @@ function displayDlg(id, param, callback) { notify_progress("Loading, please wait...", true); + while (dialogs.length > 0) + closeInfoBox(); + var query = "?op=dlg&id=" + param_escape(id) + "¶m=" + param_escape(param); @@ -465,10 +469,12 @@ function infobox_callback2(transport) { style: "width: 600px", onCancel: function() { dialogs.remove(this); + this.destroy(); return true; }, onExecute: function() { dialogs.remove(this); + this.destroy(); return true; }, onClose: function() { diff --git a/functions.php b/functions.php index 63f440999..08d3edfcf 100644 --- a/functions.php +++ b/functions.php @@ -4577,8 +4577,10 @@
"; } + print "