Update client.js

This commit is contained in:
coderaiser 2012-08-14 12:22:11 +03:00
parent 93686b45e8
commit cf8606b01a

View file

@ -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;
};