Browse Source

Merge branch 'fix/documenteditor_toolbar' into 'wrdp'

修复版式文件编辑器的操作条,在tab页种位置异常的错误

See merge request o2oa/o2oa!3106
胡起 4 năm trước cách đây
mục cha
commit
69664a54d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      o2web/source/x_component_process_Xform/Documenteditor.js

+ 1 - 1
o2web/source/x_component_process_Xform/Documenteditor.js

@@ -1079,7 +1079,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
                 paddingTop = 0;
             }
 
-            if (p.y<paddingTop){
+            if (p.y<paddingTop && this.toolNode.offsetParent){
                 this.toolbarNode.inject(this.scrollNode);
                 this.toolbarNode.setStyles({
                     "position": "absolute",