mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(view) open on f3 cmd button click
This commit is contained in:
parent
2cd49ec2fd
commit
e0a4c3adc8
2 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue