Jelajahi Sumber

设计搜索应用

huqi 5 tahun lalu
induk
melakukan
8478bd1466
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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(){
-		debugger;
 		this.initLayout();
 		this["sizeNode_"+this.options.layoutType]();
 		this["setResizeNode_"+this.options.layoutType]();
 
+		this.sizeNodeFun = null;
 		this.sizeNodeFun = this["sizeNode_"+this.options.layoutType].bind(this);
 		this.addEvent("resize", this.sizeNodeFun);
 	},
@@ -217,6 +217,7 @@ MWF.xApplication.FindDesigner.Main = new Class({
 
 			this.options.layoutType="leftRight";
 		}
+		this.resizeDrag.detach();
 		if (this.sizeNodeFun) this.removeEvent("resize", this.sizeNodeFun);
 		this.setSizeNode();
 	}