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:
5
prefs.js
5
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="+
|
||||
|
||||
Reference in New Issue
Block a user