Merge pull request #1328 from ONLYOFFICE/fix/bugfix
[DE forms] Fix Bug 53766
This commit is contained in:
commit
c2244cb5a2
|
@ -513,6 +513,7 @@ define([
|
|||
this.api.asc_setRestriction(Asc.c_oAscRestrictionType.OnlyForms);
|
||||
this.api.asc_SetFastCollaborative(true);
|
||||
this.api.asc_setAutoSaveGap(1);
|
||||
this.api.SetCollaborativeMarksShowType(Asc.c_oAscCollaborativeMarksShowType.None);
|
||||
}
|
||||
|
||||
var $parent = labelDocName.parent();
|
||||
|
|
|
@ -200,6 +200,10 @@
|
|||
|
||||
window.frameEditorId = params["frameEditorId"];
|
||||
window.parentOrigin = params["parentOrigin"];
|
||||
|
||||
if (stopLoading) {
|
||||
document.body.removeChild(document.getElementById('loading-mask'));
|
||||
} else {
|
||||
var elem = document.querySelector('.loading-logo');
|
||||
if (elem && (logo || logoDark)) {
|
||||
elem.style.backgroundImage= 'none';
|
||||
|
@ -209,6 +213,7 @@
|
|||
img && img.setAttribute('src', /theme-dark/.test(document.body.className) ? logoDark || logo : logo || logoDark);
|
||||
img.style.opacity = 1;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="editor_sdk" class="viewer" style="overflow: hidden;" tabindex="-1"></div>
|
||||
|
@ -239,17 +244,6 @@
|
|||
<span id="box-tools"></span>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
if (stopLoading) {
|
||||
document.body.removeChild(document.getElementById('loading-mask'));
|
||||
} else {
|
||||
var elem = document.querySelector('.loading-logo img');
|
||||
if (elem) {
|
||||
logo && (elem.setAttribute('src', logo));
|
||||
elem.style.opacity = 1;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
window.requireTimeourError = function(){
|
||||
var reqerr;
|
||||
|
|
Loading…
Reference in a new issue