this.setNatures(data.userNatures);\r
this.setRawData(data);\r
},\r
- getSaveService : function(){\r
+ getSaveService : function(self){\r
if(this.isCreate()){\r
var userService = org.argeo.security.ria.SecurityAPI.getCreateUserService(this.toJSON(true)); \r
}else{\r
- var userService = org.argeo.security.ria.SecurityAPI.getUpdateUserService(this.toJSON()); \r
+ var userService = org.argeo.security.ria.SecurityAPI.getUpdateUserService(this.toJSON(), self); \r
}\r
userService.addListener("completed", function(response){\r
if(!response || !response.username) return;\r