diff options
author | Andrew Dolgov <[email protected]> | 2021-02-12 09:56:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-12 09:56:27 +0300 |
commit | 72e38bfe1faa57ec15068c5ac0e53a0d7a4dc8cf (patch) | |
tree | c50d5765f1b78a6aed54cf84894277c4cfe6f12b /classes/article.php | |
parent | d466284fabe945dbc3c8034ac1468bf97b38ed94 (diff) |
rework a few more dialogs to use App.dialogOf()
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/article.php b/classes/article.php index 305764ed3..6d3746968 100755 --- a/classes/article.php +++ b/classes/article.php @@ -184,7 +184,7 @@ class Article extends Handler_Protected { print "<button dojoType='dijit.form.Button' type='submit' class='alt-primary'>".__('Save')."</button> "; print "<button dojoType='dijit.form.Button' - onclick=\"dijit.byId('editTagsDlg').hide()\">".__('Cancel')."</button>"; + onclick='App.dialogOf(this).hide()'>".__('Cancel')."</button>"; print "</footer>"; } |