From: Matthias Schmidt Date: Sat, 9 Jul 2016 07:35:03 +0000 (+0200) Subject: Close manager dialog after media insertion X-Git-Tag: 3.0.0_Beta_1~1232 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0cf7f404bd5f1c19ecae1800c49d6705bc2f9e57;p=GitHub%2FWoltLab%2FWCF.git Close manager dialog after media insertion --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js index 0d07a4000a..fa23a9ef9d 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js @@ -202,7 +202,8 @@ define(['Core', 'Dictionary', 'Dom/Traverse', 'Language', 'Ui/Dialog', 'WoltLab/ this._mediaToInsert = new Dictionary(); this._mediaToInsertByClipboard = false; - // todo: close manager dialog? + // close manager dialog + UiDialog.close(this); }, /**