From 0cb24d8f99c1d50ff6402cf37974aabcbe087561 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 29 Nov 2021 12:49:04 +0300 Subject: [PATCH] [DE forms] Fix Bug 53630 --- .../forms/app/controller/ApplicationController.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 49481b289..cad96b674 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -527,17 +527,7 @@ define([ 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.api.asc_LoadDocument(); this.api.Resize(); },