Ignore:
Timestamp:
05/21/12 16:02:11 (12 years ago)
Author:
natan
Message:

Ticket #2777 - Problemas ao mover/abrir pastas acentuadas no expressoMail

File:
1 edited

Legend:

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

    r6222 r6254  
    151151                selected = target.attr('id'); 
    152152                change_folder(target.attr('id'), child.attr('title'));   
    153                 var draw_shared_quota = function(data){ 
    154                         build_quota(data); 
    155                 }; 
    156                 cExecute ("$this.imap_functions.get_folders_list&folder="+target.attr('id'), draw_shared_quota); 
     153 
     154                $.ajax({ 
     155                          url : "controller.php?"+ $.param( { action: "$this.imap_functions.get_folders_list", folder: target.attr('id') } ), 
     156                          success : function(data){ 
     157                                  data = connector.unserialize(data); 
     158 
     159                                  if(data) 
     160                                    build_quota(data); 
     161                          } 
     162                }); 
     163 
    157164        }).filter('.followup-messages').click(function(event, ui){ 
    158165                search_emails("UNDELETED KEYWORD \"$Followupflagged\""); 
     
    270277                                 
    271278                                $.ajax({ 
    272                                         url : "controller.php?action=$this.imap_functions.move_folder&folder_to_move="+folder_to_move+"&folder_to="+folder_to, 
     279                                        url : "controller.php?"+ $.param( { action: "$this.imap_functions.move_folder", folder_to_move: folder_to_move, folder_to: folder_to } ), 
    273280                                        success : function(data){ 
    274281                                                data = connector.unserialize(data); 
Note: See TracChangeset for help on using the changeset viewer.