Changeset 7415


Ignore:
Timestamp:
10/15/12 09:50:36 (6 years ago)
Author:
thiago
Message:

Ticket #3088 - Validação para exibição de estrutura de pastas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/js/foldertree.js

    r7414 r7415  
    157157        shared_acls[value.id] = value.acl_share; 
    158158    }); 
    159  
    160     $("#content_folders").removeClass("menu-degrade").parent().removeClass("image-menu"); 
    161     mail_archive_url = mail_archive_protocol + "://" + mail_archive_host + ":" + mail_archive_port + "/admin"; 
     159     
     160    if(preferences.use_local_messages != 0){ 
     161      $("#content_folders").removeClass("menu-degrade").parent().removeClass("image-menu"); 
     162      mail_archive_url = mail_archive_protocol + "://" + mail_archive_host + ":" + mail_archive_port + "/admin"; 
     163    } 
     164     
    162165    var html = DataLayer.render('../prototype/modules/mail/templates/detailedfoldertree.ejs', {folders: [tree1, tree2, tree3]}); 
    163166    var folders_html = $("#content_folders").html(html).find(".mainfoldertree").treeview({ 
Note: See TracChangeset for help on using the changeset viewer.