From 7d8eca888cf48a12382765cac73efd045366882c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov <fox@madoka.volgo-balt.ru> Date: Fri, 17 Dec 2010 17:14:20 +0300 Subject: [PATCH] fix feed editor when FORCE_ARTICLE_PURGE is enabled --- functions.js | 1 + modules/pref-feeds.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/functions.js b/functions.js index 91318b020..67d7b4f23 100644 --- a/functions.js +++ b/functions.js @@ -1355,6 +1355,7 @@ function editFeed(feed, event) { parameters: dojo.objectToQuery(dialog.attr('value')), onComplete: function(transport) { dialog.hide(); + notify(''); updateFeedList(); }}) } diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 33d3a43fc..f97c6987a 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -339,7 +339,8 @@ 'dojoType="dijit.form.Select"'); } else { - print "<input type='hidden' name='purge_interval' value='$purge_interval'>"; + print "<input style=\"display : none\" name='purge_interval' + dojoType=\"dijit.form.TextBox\" value='$purge_interval'>"; }