From 0cf7f404bd5f1c19ecae1800c49d6705bc2f9e57 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 9 Jul 2016 09:35:03 +0200 Subject: [PATCH] Close manager dialog after media insertion --- wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }, /** -- 2.20.1