mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(menu) uploadTo: name
This commit is contained in:
parent
abc120974e
commit
663f3588b2
1 changed files with 5 additions and 5 deletions
|
|
@ -176,16 +176,16 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
});
|
||||
}
|
||||
|
||||
function uploadTo(name) {
|
||||
Info.getData(function(data) {
|
||||
function uploadTo(nameModule) {
|
||||
Info.getData(function(data) {
|
||||
var name = Info.name;
|
||||
|
||||
CloudCmd.execFromModule(name, 'uploadFile', {
|
||||
|
||||
CloudCmd.execFromModule(nameModule, 'uploadFile', {
|
||||
name: name,
|
||||
data: data
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Util.log('Uploading to ' + name + '...');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue