mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
fix(menu) show: add Images.hide
This commit is contained in:
parent
5bfaa0f74c
commit
e4783deb97
1 changed files with 4 additions and 2 deletions
|
|
@ -40,11 +40,13 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
y = position.y;
|
||||
}
|
||||
|
||||
showFunc = Util.exec.with(show, x, y);
|
||||
showFunc = function() {
|
||||
show(x, y);
|
||||
Images.hide();
|
||||
};
|
||||
|
||||
Util.exec.if(MenuIO, showFunc, function() {
|
||||
DOM.loadMenu(function(error) {
|
||||
|
||||
if (error)
|
||||
DOM.Dialog.alert(error);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue