mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
Update client.js
This commit is contained in:
parent
93686b45e8
commit
cf8606b01a
1 changed files with 6 additions and 1 deletions
|
|
@ -481,7 +481,12 @@ CloudClient.Util = (function(){
|
|||
this.getCurrentFile = function(){
|
||||
var lCurrent = lThis.getByClass(CloudCommander.CURRENT_FILE)[0];
|
||||
if(!lCurrent)
|
||||
console.log('Error: Can not find Current File');
|
||||
this.addCloudStatus({
|
||||
code : -1,
|
||||
msg : 'Error: can not find ' +
|
||||
'CurrentFile ' +
|
||||
'in getCurrentFile'
|
||||
});
|
||||
|
||||
return lCurrent;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue