diff options
author | wn_ <[email protected]> | 2018-12-02 16:15:31 -0600 |
---|---|---|
committer | wn_ <[email protected]> | 2018-12-02 16:15:31 -0600 |
commit | 6f9307aa9a1a9b35773ca1b2b5a8f151b911ec3d (patch) | |
tree | 7a51b4268b1697d11ed05843e46561e795049f67 | |
parent | 6100392bd56b57c9290c7498a90e8694cfbe13ae (diff) |
Also fix the 'Create label' `onclick`
-rw-r--r-- | classes/pref/labels.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/labels.php b/classes/pref/labels.php index c52f8bd79..49118ab4a 100644 --- a/classes/pref/labels.php +++ b/classes/pref/labels.php @@ -275,7 +275,7 @@ class Pref_Labels extends Handler_Protected { dojoType=\"dijit.MenuItem\">".__('None')."</div>"; print "</div></div>"; - print"<button dojoType=\"dijit.form.Button\" onclick=\"return addLabel()\">". + print"<button dojoType=\"dijit.form.Button\" onclick=\"CommonDialogs.addLabel()\">". __('Create label')."</button dojoType=\"dijit.form.Button\"> "; print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('labelTree').removeSelected()\">". @@ -323,4 +323,4 @@ class Pref_Labels extends Handler_Protected { print "</div>"; #container } -}
\ No newline at end of file +} |