ajax may fail b/c of expired session
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 9 Mar 2011 12:34:52 +0000 (13:34 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 9 Mar 2011 12:34:52 +0000 (13:34 +0100)
planetlab/slices/leases.js

index 4e45e4d..5c25619 100644 (file)
@@ -337,7 +337,7 @@ function Scheduler () {
                                       if ( ! scheduler.set_html (response)) 
                                           alert ("Something wrong .. Could not store ajax result..");
                                       else if ( ! scheduler.parse_html()) 
-                                          alert ("Something wrong .. Could not parse ajax result..");
+                                          alert ("Error: could not parse ajax result..\nIf your session has expired, you need to log back in");
                                       else
                                           scheduler.draw_area("leases_area");
                                       document.body.style.cursor = "default";