From 2bd21087e42500e0f13f2b5eeef3858acec2b6e7 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 14 Dec 2014 00:28:05 +0100 Subject: [PATCH] Fixed default value --- wcfsetup/install/files/js/WCF.Attachment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Attachment.js b/wcfsetup/install/files/js/WCF.Attachment.js index b96cc4974f..ffc1fbd2ac 100644 --- a/wcfsetup/install/files/js/WCF.Attachment.js +++ b/wcfsetup/install/files/js/WCF.Attachment.js @@ -205,7 +205,7 @@ WCF.Attachment.Upload = WCF.Upload.extend({ * @see WCF.Upload._upload() */ _upload: function(event, file, blob) { - var $uploadID; + var $uploadID = undefined; if (this._validateLimit()) { $uploadID = this._super(event, file, blob); -- 2.20.1