Close manager dialog after media insertion
authorMatthias Schmidt <gravatronics@live.com>
Sat, 9 Jul 2016 07:35:03 +0000 (09:35 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 9 Jul 2016 07:35:03 +0000 (09:35 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Editor.js

index 0d07a4000acb2635af53ccc2aca40c0b53c896f8..fa23a9ef9d69960de91ec88ecdfb12c93c38b282 100644 (file)
@@ -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);
                },
                
                /**