From: Alexander Ebert Date: Thu, 28 Jul 2016 13:19:11 +0000 (+0200) Subject: Fixed attachments not resetted properly X-Git-Tag: 3.0.0_Beta_1~937 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56d32a1e7cff282cc42529ff36fb3f9b40522aaf;p=GitHub%2FWoltLab%2FWCF.git Fixed attachments not resetted properly --- diff --git a/wcfsetup/install/files/js/WCF.Attachment.js b/wcfsetup/install/files/js/WCF.Attachment.js index 643fb8a030..b349b0d336 100644 --- a/wcfsetup/install/files/js/WCF.Attachment.js +++ b/wcfsetup/install/files/js/WCF.Attachment.js @@ -85,7 +85,7 @@ WCF.Attachment.Upload = WCF.Upload.extend({ if (this._editorId) { WCF.System.Event.addListener('com.woltlab.wcf.redactor2', 'submit_' + this._editorId, $.proxy(this._submitInline, this)); - WCF.System.Event.addListener('com.woltlab.wcf.redactor2', 'reset', $.proxy(this._reset, this)); + WCF.System.Event.addListener('com.woltlab.wcf.redactor2', 'reset_' + this._editorId, $.proxy(this._reset, this)); // TODO //WCF.System.Event.addListener('com.woltlab.wcf.redactor', 'upload_' + this._editorId, $.proxy(this._editorUpload, this));