Changeset 6254 for trunk/prototype/modules/mail/js
- Timestamp:
- 05/21/12 16:02:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/js/foldertree.js
r6222 r6254 151 151 selected = target.attr('id'); 152 152 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 157 164 }).filter('.followup-messages').click(function(event, ui){ 158 165 search_emails("UNDELETED KEYWORD \"$Followupflagged\""); … … 270 277 271 278 $.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 } ), 273 280 success : function(data){ 274 281 data = connector.unserialize(data);
Note: See TracChangeset
for help on using the changeset viewer.