From 54d0eefdc8d61d475a6429056bf4f0478df8867c Mon Sep 17 00:00:00 2001 From: Cleverson Sacramento Date: Wed, 17 Sep 2014 09:36:00 -0300 Subject: [PATCH] FWK-196: Melhorias na organização do código-fonte gerado pelo arquétipo demoiselle-html-rest --- archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/proxy/bookmark.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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