Changeset 2084 for branches/2.1/expressoMail1_2
- Timestamp:
- 02/26/10 09:19:44 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/expressoMail1_2/js/main.js
r2078 r2084 637 637 638 638 var handler_move_msgs = function(data){ 639 if (!verify_session(data)) 640 return; 639 641 if(typeof(data) == 'string') 640 642 if (data.match(/^(.*)TRYCREATE(.*)$/)){ … … 1441 1443 } 1442 1444 } 1443 1444 if (typeof(data) == 'object' && !data.success) 1445 // Its not good to verify session here beacuse the user is producing their text and can lose in redirection 1446 if (data == null) 1447 write_msg(get_lang("Connection failed with %1 Server. Try later.", "Web")); 1448 else 1449 if (typeof(data) == 'object' && !data.success) 1445 1450 { 1446 1451 connector = new cConnector(); … … 1461 1466 Element('cert_applet').doButtonClickAction(operation, ID, data.body); 1462 1467 } 1463 else { 1468 else 1469 { 1464 1470 alert(data.error); 1465 1471 } 1466 1472 1467 1473 return; … … 2222 2228 if(data && data.imap_error) { 2223 2229 if(data.imap_error == "nosession") 2224 write_msg(get_lang("your session could not be verified.")); 2230 //write_msg(get_lang("your session could not be verified.")); 2231 document.location = document.location+'/../../login.php?cd=10'; 2225 2232 else 2226 2233 write_msg(data.imap_error);
Note: See TracChangeset
for help on using the changeset viewer.