rsanchez
2015-07-17 de20ad70c0afaf6e0560bc8b22b5fd4d4a953271
securis/src/main/webapp/js/admin.js
....@@ -213,7 +213,7 @@
213213 var newAppId = $scope.formu['application_id'];
214214 if (newAppId) {
215215 // Only if there is a "valid" value selected we should update the metadata
216
- Catalogs.getResource('application').get({appId: newAppId}).$promise.then(function(app) {
216
+ Catalogs.getResource('application').get({id: newAppId}).$promise.then(function(app) {
217217 $scope.formu.metadata = [];
218218 app.metadata.forEach(function(md) {
219219 $scope.formu.metadata.push({