Skip to content

Commit

Permalink
Revert "Fixed issue #16194: file upload disables other clicks."
Browse files Browse the repository at this point in the history
This reverts commit 09da665.
  • Loading branch information
gabrieljenik committed Aug 18, 2020
1 parent 09da665 commit be5f29f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
11 changes: 5 additions & 6 deletions assets/packages/questions/upload/build/uploadquestion.js
Expand Up @@ -703,7 +703,6 @@
toDeleteFlag = true; // Fix IE mixed content issue

iframe.src = "javascript:'<html></html>';";
removeNode(iframe);
});
},

Expand All @@ -727,10 +726,7 @@
} // sending request


var iframe = this._createIframe(); // Get response from iframe and fire onComplete event when ready


this._getResponse(iframe, file);
var iframe = this._createIframe();

var form = this._createForm(iframe); // assuming following structure
// div -> input type='file'
Expand All @@ -745,7 +741,10 @@
removeNode(form);
form = null;
removeNode(this._input);
this._input = null; // get ready for next request
this._input = null; // Get response from iframe and fire onComplete event when ready

this._getResponse(iframe, file); // get ready for next request


this._createInput();
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions assets/packages/questions/upload/src/ajaxupload.js
Expand Up @@ -636,7 +636,6 @@

// Fix IE mixed content issue
iframe.src = "javascript:'<html></html>';";
removeNode(iframe);
});
},
/**
Expand All @@ -659,10 +658,6 @@

// sending request
var iframe = this._createIframe();

// Get response from iframe and fire onComplete event when ready
this._getResponse(iframe, file);

var form = this._createForm(iframe);

// assuming following structure
Expand All @@ -679,6 +674,9 @@
removeNode(form); form = null;
removeNode(this._input); this._input = null;

// Get response from iframe and fire onComplete event when ready
this._getResponse(iframe, file);

// get ready for next request
this._createInput();
}
Expand Down

0 comments on commit be5f29f

Please sign in to comment.