diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/proxy/bookmark.js b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/proxy/bookmark.js index 87c5b5b..cd8c921 100644 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/proxy/bookmark.js +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/proxy/bookmark.js @@ -34,11 +34,11 @@ var BookmarkProxy = { }); }, - update : function($id, $form) { + update : function($id, $data) { return $.ajax({ type : "PUT", url : this.url + "/" + $id, - data : JSON.stringify($form), + data : JSON.stringify($data), contentType : "application/json", beforeSend : function(request) { request.setRequestHeader("Authorization", App.getToken()); -- libgit2 0.21.2