[DE forms] Fix Bug 53630

This commit is contained in:
Julia Radzhabova 2021-11-29 12:49:04 +03:00
parent 1c5b2fe382
commit 0cb24d8f99

View file

@ -527,17 +527,7 @@ define([
this.api.SetCollaborativeMarksShowType(Asc.c_oAscCollaborativeMarksShowType.None); this.api.SetCollaborativeMarksShowType(Asc.c_oAscCollaborativeMarksShowType.None);
} }
var $parent = labelDocName.parent();
var _left_width = $parent.position().left,
_right_width = $parent.next().outerWidth();
if ( _left_width < _right_width )
$parent.css('padding-left', _right_width - _left_width);
else
$parent.css('padding-right', _left_width - _right_width);
this.onLongActionBegin(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument); this.onLongActionBegin(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument);
this.api.asc_LoadDocument(); this.api.asc_LoadDocument();
this.api.Resize(); this.api.Resize();
}, },