|
@@ -90,9 +90,10 @@ MWF.xApplication.process.FormDesigner.Main = new Class({
|
|
|
if (this.shortcut) {
|
|
if (this.shortcut) {
|
|
|
if (this.form) {
|
|
if (this.form) {
|
|
|
// if (this.form.isFocus){
|
|
// if (this.form.isFocus){
|
|
|
- if (!this.form.node.contains(document.activeElement)){
|
|
|
|
|
- return false;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ debugger;
|
|
|
|
|
+ // if (!this.form.node.contains(document.activeElement)){
|
|
|
|
|
+ // return false;
|
|
|
|
|
+ // }
|
|
|
if (this.form.currentSelectedModule) {
|
|
if (this.form.currentSelectedModule) {
|
|
|
var module = this.form.currentSelectedModule;
|
|
var module = this.form.currentSelectedModule;
|
|
|
if (module.moduleType != "form" && module.moduleName.indexOf("$") == -1) {
|
|
if (module.moduleType != "form" && module.moduleName.indexOf("$") == -1) {
|
|
@@ -123,7 +124,7 @@ MWF.xApplication.process.FormDesigner.Main = new Class({
|
|
|
if (this.shortcut) {
|
|
if (this.shortcut) {
|
|
|
if (this.form) {
|
|
if (this.form) {
|
|
|
// if (this.form.isFocus){
|
|
// 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) {
|
|
if (this.form.currentSelectedModule) {
|
|
|
var module = this.form.currentSelectedModule;
|
|
var module = this.form.currentSelectedModule;
|
|
|
if (module.moduleType != "form" && module.moduleName.indexOf("$") == -1) {
|
|
if (module.moduleType != "form" && module.moduleName.indexOf("$") == -1) {
|
|
@@ -144,7 +145,7 @@ MWF.xApplication.process.FormDesigner.Main = new Class({
|
|
|
if (this.shortcut) {
|
|
if (this.shortcut) {
|
|
|
if (this.form) {
|
|
if (this.form) {
|
|
|
debugger;
|
|
debugger;
|
|
|
- if (!this.form.node.contains(document.activeElement)) return false;
|
|
|
|
|
|
|
+ //if (!this.form.node.contains(document.activeElement)) return false;
|
|
|
// if (this.form.isFocus){
|
|
// if (this.form.isFocus){
|
|
|
if (MWF.clipboard.data) {
|
|
if (MWF.clipboard.data) {
|
|
|
if (MWF.clipboard.data.type == "form") {
|
|
if (MWF.clipboard.data.type == "form") {
|