Procházet zdrojové kódy

修复脚本拷贝粘贴时,和设计元素的拷贝粘贴冲突

huqi před 5 roky
rodič
revize
28b0f156ff

+ 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) {