fix(view) open on f3 cmd button click

This commit is contained in:
coderaiser 2013-07-29 07:31:03 +00:00
parent 2cd49ec2fd
commit e0a4c3adc8
2 changed files with 8 additions and 1 deletions

View file

@ -142,6 +142,8 @@ getJSONfromFileTable.
* feature(css) add media-query for .cmd-button
* fix(view) open on f3 cmd button click
2012.04.22, v0.2.0

View file

@ -39,8 +39,13 @@ var CloudCmd, Util, DOM, CloudFunc, $;
};
this.init = function(pCallBack){
var lFunc, lIsFunc = Util.isFunction(pCallBack);
if (lIsFunc)
lFunc = pCallBack;
Util.loadOnLoad([
pCallBack || Util.retExec(View.show, null),
lFunc || Util.retExec(View.show, null),
load,
DOM.jqueryLoad
]);