Fix Bug 38447 long loading page

This commit is contained in:
Sergey Linnik
2018-08-30 15:24:08 +03:00
parent e3eb837f45
commit 04c3ff5895
3 changed files with 7 additions and 8 deletions

View File

@ -227,7 +227,7 @@ if (typeof jQuery != "undefined") {
jq("#mainProgress").addClass("embedded");
jq("#beginEmbedded").addClass("disable");
jq("#embeddedView").attr("src", url);
jq("#uploadSteps").after('<iframe id="embeddedView" src="' + url + '" height="345px" width="600px" frameborder="0" scrolling="no" allowtransparency></iframe>');
});
jq(document).on("click", ".reload-page", function () {
@ -244,7 +244,7 @@ if (typeof jQuery != "undefined") {
jq(document).on("click", "#cancelEdit, .dialog-close", function () {
jq('#hiddenFileName').val("");
jq("#embeddedView").attr("src", "");
jq("#embeddedView").remove();
jq.unblockUI();
if (mustReload) {
document.location.reload();