Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified FileAPI.flash.swf
Binary file not shown.
3 changes: 0 additions & 3 deletions flash/src/ru/mail/commands/LoadFileCommand.as
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ package ru.mail.commands
fileRef.removeEventListener( Event.COMPLETE, onLoadComplete);
fileRef.removeEventListener( IOErrorEvent.IO_ERROR, onLoadError );
fileRef.removeEventListener(ProgressEvent.PROGRESS, onProgress);

fileRef = null;
file = null;
}

private function onLoadError(event:IOErrorEvent):void
Expand Down
2 changes: 0 additions & 2 deletions flash/src/ru/mail/commands/UploadFileCommand.as
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ package ru.mail.commands
fileRef.removeEventListener(IOErrorEvent.IO_ERROR, onError);
fileRef.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onError);
fileRef.removeEventListener(ProgressEvent.PROGRESS, onProgress);

fileRef = null;
}

override public function execute():void
Expand Down
2 changes: 1 addition & 1 deletion flash/src/ru/mail/controller/AppController.as
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ package ru.mail.controller
}
_model.filesBuilder.removeFile(file);
file = null;

LoggerJS.log("abort complete");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/FileAPI.Flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@

_this.xhr = {
headers: {},
abort: function (){ flash.cmd(flashId, 'abort', fileId); },
abort: function (){ flash.cmd(flashId, 'abort', { id: fileId }); },
getResponseHeader: function (name){ return this.headers[name]; },
getAllResponseHeaders: function (){ return this.headers; }
};
Expand Down