Commit 54d0eefdc8d61d475a6429056bf4f0478df8867c
1 parent
7409afbb
Exists in
master
FWK-196: Melhorias na organização do código-fonte gerado pelo arquétipo
demoiselle-html-rest Task-Url: https://demoiselle.atlassian.net/browse/FWK-196
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/proxy/bookmark.js
... | ... | @@ -34,11 +34,11 @@ var BookmarkProxy = { |
34 | 34 | }); |
35 | 35 | }, |
36 | 36 | |
37 | - update : function($id, $form) { | |
37 | + update : function($id, $data) { | |
38 | 38 | return $.ajax({ |
39 | 39 | type : "PUT", |
40 | 40 | url : this.url + "/" + $id, |
41 | - data : JSON.stringify($form), | |
41 | + data : JSON.stringify($data), | |
42 | 42 | contentType : "application/json", |
43 | 43 | beforeSend : function(request) { |
44 | 44 | request.setRequestHeader("Authorization", App.getToken()); | ... | ... |