diff --git a/lib/client/config.js b/lib/client/config.js index 88893cde..87394826 100644 --- a/lib/client/config.js +++ b/lib/client/config.js @@ -12,7 +12,7 @@ var CloudCmd, Util, DOM; INPUT = 'INPUT', Config = this; - this.init = function(pCallBack){ + this.init = function(pCallBack){ Util.loadOnLoad([ Config.show, CloudCmd.View, @@ -24,7 +24,7 @@ var CloudCmd, Util, DOM; delete Config.init; }; - this.show = function(){ + this.show = function(){ Images.showLoad({top:true}); DOM.ajax({ @@ -77,7 +77,9 @@ var CloudCmd, Util, DOM; }); }; - this.hide = CloudCmd.View.hide + this.hide = function() { + CloudCmd.View.hide(); + }; function listener(pEvent){ var f10 = Key.F10, diff --git a/lib/client/help.js b/lib/client/help.js index 8db66811..b8ba278d 100644 --- a/lib/client/help.js +++ b/lib/client/help.js @@ -9,7 +9,7 @@ var CloudCmd, Util, DOM; Images = DOM.Images, Help = this; - this.init = function(pCallBack){ + this.init = function(pCallBack){ Util.loadOnLoad([ Help.show, CloudCmd.View, @@ -63,9 +63,11 @@ var CloudCmd, Util, DOM; }; - this.hide = CloudCmd.View.hide; + this.hide = function() { + CloudCmd.View.hide(); + }; - function listener(pEvent){ + function listener(pEvent) { var lF1 = Key.F1, lIsBind = Key.isBind(), lKey = pEvent.keyCode;