From: Andrew Dolgov Date: Sat, 20 Nov 2010 11:53:52 +0000 (+0300) Subject: use dijit.form.Buttons in refactored filter/label dialogs X-Git-Tag: 1.5.0~116 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=59216e083ceae53c0f7862dcca4af20738b5d2cb;p=tt-rss.git use dijit.form.Buttons in refactored filter/label dialogs --- diff --git a/functions.js b/functions.js index bbfd32e4..e9a1f70b 100644 --- a/functions.js +++ b/functions.js @@ -1189,6 +1189,7 @@ function quickAddFilter() { parameters: dojo.objectToQuery(this.attr('value')), onComplete: function(transport) { this.hide(); + notify_progress("Savind data...", true); notify_info(transport.responseText); if (inPreferences()) { updateFilterList(); diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 28f30fa6..527df08a 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -157,7 +157,7 @@ name=\"reg_exp\" style=\"font-size : 16px;\" value=\"$reg_exp\">"; print ""; - print " "; print ""; @@ -244,14 +244,14 @@ $reg_exp = htmlspecialchars($reg_exp, ENT_QUOTES); // second escaping seems to be needed for javascript print "
"; - print ""; print "
"; - print " "; - print ""; print ""; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index 5e025385..e381d72f 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -25,7 +25,7 @@ $fg_color = $line['fg_color']; $bg_color = $line['bg_color']; - print "α"; + print "α"; print ""; print "
"; - print ""; - print ""; print "
"; diff --git a/prefs.js b/prefs.js index fa4804ff..fdcf28e8 100644 --- a/prefs.js +++ b/prefs.js @@ -302,6 +302,7 @@ function editFilter(id, event) { execute: function() { if (this.validate()) { this.hide(); + notify_progress("Savind data...", true); new Ajax.Request("backend.php", { parameters: dojo.objectToQuery(this.attr('value')), onComplete: function(transport) { @@ -1652,8 +1653,8 @@ function removeFilter(id, title) { var ok = confirm(msg); if (ok) { - closeInfoBox(); - + dijit.byId("filterEditDlg").hide(); + notify_progress("Removing filter..."); var query = "?op=pref-filters&subop=remove&ids="+