Browse Source

Merge branch 'fix/form_copy' into 'develop'

Merge of fix/form_copy to develop 修复脚本拷贝粘贴时,和设计元素的拷贝粘贴冲突

See merge request o2oa/o2oa!1014
胡起 5 năm trước cách đây
mục cha
commit
7fbe9c6544
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      o2web/source/x_component_cms_FormDesigner/Main.js

+ 3 - 3
o2web/source/x_component_cms_FormDesigner/Main.js

@@ -92,9 +92,9 @@ MWF.xApplication.cms.FormDesigner.Main = new Class({
         if (this.shortcut) {
             if (this.form) {
                 //           if (this.form.isFocus){
-                if (!this.form.node.contains(document.activeElement)){
-                    return false;
-                }
+                // if (!this.form.node.contains(document.activeElement)){
+                //     return false;
+                // }
                 if (this.form.currentSelectedModule) {
                     var module = this.form.currentSelectedModule;
                     if (module.moduleType != "form" && module.moduleName.indexOf("$") == -1) {