Ignore:
Timestamp:
12/17/09 10:56:50 (15 years ago)
Author:
amuller
Message:

Ticket #597 - Melhoria do FM, Implementação do arquivamento

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/js/handler.js

    r1854 r1865  
    8686} 
    8787handler.prototype.archive = function(data) { 
     88        returnVal = data.split(':'); 
     89        if (returnVal[0] == 'False') 
     90        { 
     91                write_error(get_lang('It was not possible to execute it')); 
     92        } 
     93        else 
     94        if (returnVal[0] == 'wpasswd') 
     95        { 
     96                write_error(get_lang('Wrong password')); 
     97                return; 
     98        } 
     99        else 
     100                 write_msg(get_lang('Your operation was successfully executed')); 
    88101        toolbar.control('reload'); 
     102 
    89103} 
    90104 
Note: See TracChangeset for help on using the changeset viewer.