huqi 5 роки тому
батько
коміт
edd21e6881

+ 2 - 2
o2web/source/x_component_process_ScriptDesigner/$Main/default/css.wcss

@@ -34,7 +34,7 @@
     "scriptListAreaSccrollNode": {
     "scriptListAreaSccrollNode": {
         "margin": "4px",
         "margin": "4px",
         "margin-right": "8px",
         "margin-right": "8px",
-        "overflow": "hidden",
+        "overflow": "auto",
         "background-color": "#FFF",
         "background-color": "#FFF",
         "border-top": "1px solid #999",
         "border-top": "1px solid #999",
         "border-left": "1px solid #999",
         "border-left": "1px solid #999",
@@ -229,4 +229,4 @@
 		"background": "#FFF",
 		"background": "#FFF",
 		"margin-bottom": "2px"
 		"margin-bottom": "2px"
 	}
 	}
-}
+}

+ 1 - 1
o2web/source/x_component_process_ScriptDesigner/Main.js

@@ -172,7 +172,7 @@ MWF.xApplication.process.ScriptDesigner.Main = new Class({
 
 
         listScriptItem.store("script", script);
         listScriptItem.store("script", script);
         listScriptItem.addEvents({
         listScriptItem.addEvents({
-            "dblclick": function(e){_self.loadScriptByData(this, e);},
+            "click": function(e){_self.loadScriptByData(this, e);},
             "mouseover": function(){if (_self.currentListScriptItem!=this) this.setStyles(_self.css.listScriptItem_over);},
             "mouseover": function(){if (_self.currentListScriptItem!=this) this.setStyles(_self.css.listScriptItem_over);},
             "mouseout": function(){if (_self.currentListScriptItem!=this) this.setStyles(_self.css.listScriptItem);}
             "mouseout": function(){if (_self.currentListScriptItem!=this) this.setStyles(_self.css.listScriptItem);}
         });
         });