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,14 +200,19 @@
|
|||
|
||||
window.frameEditorId = params["frameEditorId"];
|
||||
window.parentOrigin = params["parentOrigin"];
|
||||
var elem = document.querySelector('.loading-logo');
|
||||
if (elem && (logo || logoDark)) {
|
||||
elem.style.backgroundImage= 'none';
|
||||
elem.style.width = 'auto';
|
||||
elem.style.height = 'auto';
|
||||
var img = document.querySelector('.loading-logo img');
|
||||
img && img.setAttribute('src', /theme-dark/.test(document.body.className) ? logoDark || logo : logo || logoDark);
|
||||
img.style.opacity = 1;
|
||||
|
||||
if (stopLoading) {
|
||||
document.body.removeChild(document.getElementById('loading-mask'));
|
||||
} else {
|
||||
var elem = document.querySelector('.loading-logo');
|
||||
if (elem && (logo || logoDark)) {
|
||||
elem.style.backgroundImage= 'none';
|
||||
elem.style.width = 'auto';
|
||||
elem.style.height = 'auto';
|
||||
var img = document.querySelector('.loading-logo img');
|
||||
img && img.setAttribute('src', /theme-dark/.test(document.body.className) ? logoDark || logo : logo || logoDark);
|
||||
img.style.opacity = 1;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -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