|
@@ -44,7 +44,7 @@ function dataURLtoFile_shishi(dataurl, filename) {
|
|
|
|
|
|
function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
|
|
function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
|
|
// loading.style.display = 'flex'
|
|
// loading.style.display = 'flex'
|
|
- // top.document.getElementById(loading);
|
|
|
|
|
|
+ // window.topU.document.getElementById(loading);
|
|
// document.body.appendChild(_loading)
|
|
// document.body.appendChild(_loading)
|
|
var file = nfile;
|
|
var file = nfile;
|
|
var credentials = {
|
|
var credentials = {
|
|
@@ -91,7 +91,7 @@ function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool,
|
|
for (var i = 0; i < _a.length; i++) {
|
|
for (var i = 0; i < _a.length; i++) {
|
|
_a[i].removeAttribute("crossorigin")
|
|
_a[i].removeAttribute("crossorigin")
|
|
}
|
|
}
|
|
- top.document.getElementById(loading).children[0].style.display = "none"
|
|
|
|
|
|
+ window.topU.document.getElementById(loading).children[0].style.display = "none"
|
|
let _div = document.createElement('div')
|
|
let _div = document.createElement('div')
|
|
_div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
|
|
_div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
|
|
let _inner = document.createElement('div')
|
|
let _inner = document.createElement('div')
|
|
@@ -135,7 +135,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
|
|
for (var i = 0; i < _a.length; i++) {
|
|
for (var i = 0; i < _a.length; i++) {
|
|
_a[i].removeAttribute("crossorigin")
|
|
_a[i].removeAttribute("crossorigin")
|
|
}
|
|
}
|
|
- top.document.getElementById(loading).children[0].style.display = "none"
|
|
|
|
|
|
+ window.topU.document.getElementById(loading).children[0].style.display = "none"
|
|
let _div = document.createElement('div')
|
|
let _div = document.createElement('div')
|
|
_div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
|
|
_div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
|
|
let _inner = document.createElement('div')
|
|
let _inner = document.createElement('div')
|
|
@@ -153,7 +153,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
|
|
for (var i = 0; i < _a.length; i++) {
|
|
for (var i = 0; i < _a.length; i++) {
|
|
_a[i].removeAttribute("crossorigin")
|
|
_a[i].removeAttribute("crossorigin")
|
|
}
|
|
}
|
|
- top.document.getElementById(loading).children[0].style.display = "none"
|
|
|
|
|
|
+ window.topU.document.getElementById(loading).children[0].style.display = "none"
|
|
let _div = document.createElement('div')
|
|
let _div = document.createElement('div')
|
|
_div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
|
|
_div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
|
|
let _inner = document.createElement('div')
|
|
let _inner = document.createElement('div')
|