Don't erase old publcations, so that the relations don't disappear.
[redakcja.git] / project / static / js / models.js
index 8e4f74d..b5b9c54 100644 (file)
@@ -82,7 +82,7 @@ Editor.XMLModel = Editor.Model.extend({
       
       $.ajax({
         url: this.serverURL,
-        type: 'put',
+        type: 'post',
         dataType: 'json',
         data: payload,
         success: this.updatingSucceeded.bind(this),