Skip to content

Commit

Permalink
Fixed issue #16340: File Upload showing blank page in latest Chromium…
Browse files Browse the repository at this point in the history
… 83.0.4103.61
  • Loading branch information
ptelu committed Jun 2, 2020
1 parent 6504b88 commit cb8f158
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/packages/questions/upload/build/uploadquestion.js
Expand Up @@ -487,6 +487,7 @@
// Anyway, it doesn't do any harm.

iframe.setAttribute('id', id);
iframe.setAttribute('srcdoc', this._settings.action);
iframe.style.display = 'none';
document.body.appendChild(iframe);
return iframe;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/packages/questions/upload/src/ajaxupload.js
Expand Up @@ -509,6 +509,7 @@
// "This page contains both secure and nonsecure items"
// Anyway, it doesn't do any harm.
iframe.setAttribute('id', id);
iframe.setAttribute('srcdoc', this._settings.action);

iframe.style.display = 'none';
document.body.appendChild(iframe);
Expand Down

0 comments on commit cb8f158

Please sign in to comment.