Changeset 8117 for branches/2.5/prototype/modules/mail/js/foldertree.js
- Timestamp:
- 04/25/13 09:24:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/prototype/modules/mail/js/foldertree.js
r8106 r8117 322 322 $(this).removeClass("folder-over"); 323 323 324 if ($(ui.draggable[0]).parent().find("input").val() == "localFolder" && $(this).parents("li").find("input").first().val() != "localFolder"){325 return write_msg(get_lang("Ohh no, it isn't possible to send a folder by Archiver to My folders"));326 } else if ( !$(ui.draggable[0]).parent().find("input").val() && $(this).parents("li").find("input").first().val() == "localFolder") {327 return write_msg(get_lang("Ohh no, it isn't possible to send a folder by My folders to Archiver"));328 }329 330 324 if($(this).parent().attr('id') == undefined){ 331 332 325 var folder_to = 'INBOX'; 333 326 var to_folder_title = get_lang("Inbox"); … … 365 358 // SE O DROP VIER DA LISTA DE PASTAS 366 359 else{ 360 if($(ui.draggable[0]).parent().find("input").val() == "localFolder" && $(this).parents("li").find("input").first().val() != "localFolder") 361 { 362 return write_msg(get_lang("It isn't possible to send a folder by Archiver to My folders")); 363 } 364 else if(!$(ui.draggable[0]).parent().find("input").val() && $(this).parents("li").find("input").first().val() == "localFolder") 365 { 366 return write_msg(get_lang("It isn't possible to send a folder by My folders to Archiver")); 367 } 367 368 var folder_to_exist = folder_to_move.split(cyrus_delimiter); 368 369 folder_to_exist = folder_to+cyrus_delimiter+folder_to_exist[folder_to_exist.length-1];
Note: See TracChangeset
for help on using the changeset viewer.