Quellcode durchsuchen

设计搜索应用

huqi vor 5 Jahren
Ursprung
Commit
8478bd1466
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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();
 	}