Treat the response from the server as a JSON object
authorSverre Rabbelier <srabbelier@gmail.com>
Sun, 08 Mar 2009 14:36:24 +0000
changeset 1744 0288cb88edd2
parent 1743 669b6136b7b3
child 1745 d8a45f622241
Treat the response from the server as a JSON object Patch by: Sverre Rabbelier
app/soc/content/js/slot-allocator.js
--- a/app/soc/content/js/slot-allocator.js	Sun Mar 08 13:58:15 2009 +0000
+++ b/app/soc/content/js/slot-allocator.js	Sun Mar 08 14:36:24 2009 +0000
@@ -19,6 +19,7 @@
         processData: true,
         data: {result: JSON.stringify(to_json)},
         contentType: 'application/json',
+        dataType: 'json',
         success: callback,
     });
 };