Latest UI inventory changes

This commit is contained in:
chouseknecht
2013-05-14 09:51:26 -04:00
parent 2612ebd792
commit 55f44b86f1
2 changed files with 10 additions and 9 deletions

View File

@@ -162,9 +162,9 @@ function GroupsAdd ($scope, $rootScope, $compile, $location, $log, $routeParams,
data[fld] = scope[fld];
}
if ($routeParams.group_id) {
data['inventory'] = $routeParams.inventory_id;
}
//if ($routeParams.group_id) {
// data['inventory'] = $routeParams.inventory_id;
//}
Rest.post(data)
.success( function(data, status, headers, config) {