fix for prototype-1.7, leases were broken
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 26 May 2011 08:19:50 +0000 (10:19 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 26 May 2011 08:19:50 +0000 (10:19 +0200)
planetlab/slices/leases.js

index 5c25619..9082601 100644 (file)
@@ -285,7 +285,7 @@ function Scheduler () {
        var ajax=new Ajax.Request('/planetlab/common/actions.php', 
                                  {method:'post',
                                   parameters:{'action':'manage-leases',
-                                              'actions':actions.toJSON()},
+                                              'actions':Object.toJSON(actions)},
                                   onSuccess: function(transport) {
                                       var response = transport.responseText || "no response text";
                                       document.body.style.cursor = "default";