# HG changeset patch # User Sverre Rabbelier # Date 1236522984 0 # Node ID 0288cb88edd2e0912fe645149d76a37ea25b7820 # Parent 669b6136b7b30cb93771c2acd6912dd37a0485b6 Treat the response from the server as a JSON object Patch by: Sverre Rabbelier diff -r 669b6136b7b3 -r 0288cb88edd2 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, }); };