mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(config) fillTemplate: hideLoad -> onShow
This commit is contained in:
parent
740eabdd3a
commit
d6d24a4a06
1 changed files with 6 additions and 3 deletions
|
|
@ -69,7 +69,11 @@ var CloudCmd, Util, DOM;
|
|||
function fillTemplate() {
|
||||
CloudCmd.getConfig(function(config) {
|
||||
var i, n, div, data, inputs, input, inputFirst,
|
||||
focus, obj;
|
||||
focus, obj,
|
||||
onShow = function() {
|
||||
Images.hideLoad();
|
||||
Util.exec(focus);
|
||||
};
|
||||
|
||||
CONFIG = config;
|
||||
obj = Util.copyObj(CONFIG);
|
||||
|
|
@ -94,8 +98,7 @@ var CloudCmd, Util, DOM;
|
|||
Events.addKey(key, input);
|
||||
}
|
||||
|
||||
Images.hideLoad();
|
||||
CloudCmd.View.show(div, focus, {
|
||||
CloudCmd.View.show(div, onShow, {
|
||||
autoSize: true
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue