Permalink
Browse files

Update src/javascript/plupload.silverlight.js

getFile to getMyFile
  • Loading branch information...
1 parent 9891834 commit ae92d9b3eb78c98295157d00f8e3363f64ffdc60 @vingrad committed Aug 6, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/javascript/plupload.silverlight.js
@@ -272,12 +272,12 @@
code : plupload.IO_ERROR,
message : 'IO Error.',
details : message,
- file : up.getFile(lookup[file_id])
+ file : up.getMyFile(lookup[file_id])
});
});
uploader.bind("Silverlight:UploadFileProgress", function(up, sl_id, loaded, total) {
- var file = up.getFile(lookup[sl_id]);
+ var file = up.getMyFile(lookup[sl_id]);
if (file.status != plupload.FAILED) {
file.size = total;
@@ -305,7 +305,7 @@
});
uploader.bind("Silverlight:UploadChunkSuccessful", function(up, sl_id, chunk, chunks, text) {
- var chunkArgs, file = up.getFile(lookup[sl_id]);
+ var chunkArgs, file = up.getMyFile(lookup[sl_id]);
chunkArgs = {
chunk : chunk,
@@ -331,7 +331,7 @@
});
uploader.bind("Silverlight:UploadSuccessful", function(up, sl_id, response) {
- var file = up.getFile(lookup[sl_id]);
+ var file = up.getMyFile(lookup[sl_id]);
file.status = plupload.DONE;

0 comments on commit ae92d9b

Please sign in to comment.