ソースを参照

设计搜索应用

huqi 5 年 前
コミット
8478bd1466
1 ファイル変更2 行追加1 行削除
  1. 2 1
      o2web/source/x_component_FindDesigner/Main.js

+ 2 - 1
o2web/source/x_component_FindDesigner/Main.js

@@ -62,11 +62,11 @@ MWF.xApplication.FindDesigner.Main = new Class({
 		}
 		}
 	},
 	},
 	setSizeNode: function(){
 	setSizeNode: function(){
-		debugger;
 		this.initLayout();
 		this.initLayout();
 		this["sizeNode_"+this.options.layoutType]();
 		this["sizeNode_"+this.options.layoutType]();
 		this["setResizeNode_"+this.options.layoutType]();
 		this["setResizeNode_"+this.options.layoutType]();
 
 
+		this.sizeNodeFun = null;
 		this.sizeNodeFun = this["sizeNode_"+this.options.layoutType].bind(this);
 		this.sizeNodeFun = this["sizeNode_"+this.options.layoutType].bind(this);
 		this.addEvent("resize", this.sizeNodeFun);
 		this.addEvent("resize", this.sizeNodeFun);
 	},
 	},
@@ -217,6 +217,7 @@ MWF.xApplication.FindDesigner.Main = new Class({
 
 
 			this.options.layoutType="leftRight";
 			this.options.layoutType="leftRight";
 		}
 		}
+		this.resizeDrag.detach();
 		if (this.sizeNodeFun) this.removeEvent("resize", this.sizeNodeFun);
 		if (this.sizeNodeFun) this.removeEvent("resize", this.sizeNodeFun);
 		this.setSizeNode();
 		this.setSizeNode();
 	}
 	}