mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(dom) Dialog: add confirm
This commit is contained in:
parent
6b2fd62cb1
commit
7d78246a7f
1 changed files with 4 additions and 3 deletions
|
|
@ -7,8 +7,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
DOMProto,
|
||||
|
||||
DialogProto = function() {
|
||||
this.alert = alert.bind(window);
|
||||
this.prompt = prompt.bind(window);
|
||||
this.alert = alert.bind(window);
|
||||
this.prompt = prompt.bind(window);
|
||||
this.confirm = confirm.bind(window);
|
||||
},
|
||||
|
||||
ImagesProto = function() {
|
||||
|
|
@ -1178,7 +1179,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
}
|
||||
|
||||
if (lName !== '..')
|
||||
lRet = confirm(lMsg);
|
||||
lRet = Dialog.confirm(lMsg);
|
||||
else
|
||||
Dialog.alert('No files selected!');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue