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_setRestriction(Asc.c_oAscRestrictionType.OnlyForms);
|
||||||
this.api.asc_SetFastCollaborative(true);
|
this.api.asc_SetFastCollaborative(true);
|
||||||
this.api.asc_setAutoSaveGap(1);
|
this.api.asc_setAutoSaveGap(1);
|
||||||
|
this.api.SetCollaborativeMarksShowType(Asc.c_oAscCollaborativeMarksShowType.None);
|
||||||
}
|
}
|
||||||
|
|
||||||
var $parent = labelDocName.parent();
|
var $parent = labelDocName.parent();
|
||||||
|
|
|
@ -200,14 +200,19 @@
|
||||||
|
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
window.parentOrigin = params["parentOrigin"];
|
window.parentOrigin = params["parentOrigin"];
|
||||||
var elem = document.querySelector('.loading-logo');
|
|
||||||
if (elem && (logo || logoDark)) {
|
if (stopLoading) {
|
||||||
elem.style.backgroundImage= 'none';
|
document.body.removeChild(document.getElementById('loading-mask'));
|
||||||
elem.style.width = 'auto';
|
} else {
|
||||||
elem.style.height = 'auto';
|
var elem = document.querySelector('.loading-logo');
|
||||||
var img = document.querySelector('.loading-logo img');
|
if (elem && (logo || logoDark)) {
|
||||||
img && img.setAttribute('src', /theme-dark/.test(document.body.className) ? logoDark || logo : logo || logoDark);
|
elem.style.backgroundImage= 'none';
|
||||||
img.style.opacity = 1;
|
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>
|
</script>
|
||||||
|
|
||||||
|
@ -239,17 +244,6 @@
|
||||||
<span id="box-tools"></span>
|
<span id="box-tools"></span>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
<script>
|
||||||
window.requireTimeourError = function(){
|
window.requireTimeourError = function(){
|
||||||
var reqerr;
|
var reqerr;
|
||||||
|
|
Loading…
Reference in a new issue