Zmiana 'put' na 'post' w commit, zgodnie ze zmianami w API.
authorzuber <marek@stepniowski.com>
Tue, 29 Sep 2009 17:45:51 +0000 (19:45 +0200)
committerzuber <marek@stepniowski.com>
Tue, 29 Sep 2009 17:45:51 +0000 (19:45 +0200)
project/static/js/models.js

index 8e4f74d..b5b9c54 100644 (file)
@@ -82,7 +82,7 @@ Editor.XMLModel = Editor.Model.extend({
       
       $.ajax({
         url: this.serverURL,
       
       $.ajax({
         url: this.serverURL,
-        type: 'put',
+        type: 'post',
         dataType: 'json',
         data: payload,
         success: this.updatingSucceeded.bind(this),
         dataType: 'json',
         data: payload,
         success: this.updatingSucceeded.bind(this),