Changeset 5393 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 01/18/12 09:45:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r5389 r5393 3364 3364 write_msg(get_lang(data)); 3365 3365 } 3366 if(new_agenda == 'false'){ 3367 if(confirm(get_lang("Do you confirm this import to your Calendar?"))){ 3368 cExecute( import_url +'&from_ajax=true',handler_import_calendar); 3369 } 3370 }else{ 3366 if(new_agenda == "True" && $("#expressoCalendarid")[0]){ 3371 3367 $( "#import-dialog" ).dialog({ 3372 3368 autoOpen: false, … … 3407 3403 }); 3408 3404 $.ajax({ 3409 3410 3411 3412 3405 url: '../prototype/modules/calendar/index.php', 3406 async: false, 3407 success: function(){ 3408 $.ajax({ 3413 3409 url: "controller.php?action="+import_url+'&from_ajax=true&selected='+$("#select-agenda option:selected").val()+'&readable=true', 3414 3410 async: false, … … 3447 3443 }); 3448 3444 } 3449 }}); 3450 }}); 3451 } 3452 $( "#import-dialog" ).dialog( "open" ); 3445 } 3446 }); 3447 } 3448 }); 3449 } 3450 else 3451 { 3452 if(confirm(get_lang("Do you confirm this import to your Calendar?"))){ 3453 cExecute( import_url +'&from_ajax=true',handler_import_calendar); 3454 } 3455 } 3456 $( "#import-dialog" ).dialog( "open" ); 3453 3457 } 3454 3458 function open_msg_part(data){
Note: See TracChangeset
for help on using the changeset viewer.