Changeset 8111 for trunk/prototype/modules/mail/js/foldertree.js
- Timestamp:
- 04/24/13 15:25:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/js/foldertree.js
r8105 r8111 406 406 $(this).removeClass("folder-over"); 407 407 408 if($(ui.draggable[0]).parent().find("input").val() == "localFolder" && $(this).parents("li").find("input").first().val() != "localFolder")409 {410 return write_msg(get_lang("Ohh no, it isn't possible to send a folder by Archiver to My folders"));411 }412 else if(!$(ui.draggable[0]).parent().find("input").val() && $(this).parents("li").find("input").first().val() == "localFolder")413 {414 return write_msg(get_lang("Ohh no, it isn't possible to send a folder by My folders to Archiver"));415 }416 417 408 if($(this).parent().attr('id') == undefined) 418 409 { 419 420 410 var folder_to = 'INBOX'; 421 411 var to_folder_title = get_lang("Inbox"); … … 460 450 else 461 451 { 452 if($(ui.draggable[0]).parent().find("input").val() == "localFolder" && $(this).parents("li").find("input").first().val() != "localFolder") 453 { 454 return write_msg(get_lang("It isn't possible to send a folder by Archiver to My folders")); 455 } 456 else if(!$(ui.draggable[0]).parent().find("input").val() && $(this).parents("li").find("input").first().val() == "localFolder") 457 { 458 return write_msg(get_lang("It isn't possible to send a folder by My folders to Archiver")); 459 } 462 460 var folder_to_exist = folder_to_move.split(cyrus_delimiter); 463 461 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.