summaryrefslogtreecommitdiff
path: root/classes/pref/labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-12 10:35:13 +0300
committerAndrew Dolgov <[email protected]>2021-02-12 10:35:13 +0300
commitbf6d0f28173ca38968e5a23b86758d1dce133e1d (patch)
tree3daef1f2edb3a320a56eac6a48d3dc08c885b010 /classes/pref/labels.php
parent72e38bfe1faa57ec15068c5ac0e53a0d7a4dc8cf (diff)
various dialog-related fixes; stop referring to many dialogs by name; move filter test initial dialog to client side
Diffstat (limited to 'classes/pref/labels.php')
-rw-r--r--classes/pref/labels.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/labels.php b/classes/pref/labels.php
index 4f83ad16e..a7869c379 100644
--- a/classes/pref/labels.php
+++ b/classes/pref/labels.php
@@ -69,9 +69,9 @@ class Pref_Labels extends Handler_Protected {
print "</section>";
print "<footer>";
- print "<button dojoType='dijit.form.Button' type='submit' class='alt-primary' onclick=\"dijit.byId('labelEditDlg').execute()\">".
+ print "<button dojoType='dijit.form.Button' type='submit' class='alt-primary' onclick='App.dialogOf(this).execute()'>".
__('Save')."</button>";
- print "<button dojoType='dijit.form.Button' onclick=\"dijit.byId('labelEditDlg').hide()\">".
+ print "<button dojoType='dijit.form.Button' onclick='App.dialogOf(this).hide()'>".
__('Cancel')."</button>";
print "</footer>";