1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 05:11:29 +00:00

use dijit.form.Buttons in refactored filter/label dialogs

This commit is contained in:
Andrew Dolgov
2010-11-20 14:53:52 +03:00
parent d90868d719
commit 59216e083c
4 changed files with 11 additions and 9 deletions

View File

@@ -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="+