Skip to content

Commit

Permalink
moxie: Update (moxiecode/moxie@293c1e0).
Browse files Browse the repository at this point in the history
  • Loading branch information
jayarjo committed Jan 20, 2013
1 parent 15e7c3f commit b09f9b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/moxie
2 changes: 2 additions & 0 deletions src/plupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,7 @@ plupload.Uploader = function(settings) {
} else if (type === 'file') {
// this process is asyncronous, so we queue it to be handled in series
queue.push(function(cb) {
// we are attaching the file to the runtime here
var target = new o.RuntimeTarget();
target.bind('RuntimeInit', function(e, runtime) {
resolveFile(new o.File(runtime.uid, file));
Expand All @@ -1386,6 +1387,7 @@ plupload.Uploader = function(settings) {
try {
target.connectRuntime({ runtime_order: "html5" });
} catch (ex) {
// runtime failed to initialize
self.trigger('Error', {
code : plupload.FILE_EXTENSION_ERROR,
message : plupload.translate('File extension error.'),
Expand Down

0 comments on commit b09f9b2

Please sign in to comment.