Fixed default value
authorAlexander Ebert <ebert@woltlab.com>
Sat, 13 Dec 2014 23:28:05 +0000 (00:28 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 13 Dec 2014 23:28:05 +0000 (00:28 +0100)
wcfsetup/install/files/js/WCF.Attachment.js

index b96cc4974fc13545d9507bdc5be8a3150af0abd2..ffc1fbd2acaed424644b63ad6e2a9a8c18c32e20 100644 (file)
@@ -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);