From ee5e817d14d90dc7d1dfd36c0e2fdd48c3e3c954 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Mon, 14 Aug 2017 13:53:18 +0200 Subject: [PATCH] Fix uploading media elements --- wcfsetup/install/files/js/WoltLabSuite/Core/Media/Upload.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Upload.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Upload.js index 41fae2e104..9d309743c1 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Upload.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Upload.js @@ -186,6 +186,8 @@ define( DomUtil.prepend(fileElement, this._target); DomChangeListener.trigger(); + + return fileElement; }, /** -- 2.20.1