Quick fix to get adding inventory source nodes working within workflows

This commit is contained in:
Michael Abashian 2016-11-11 11:43:34 -05:00
parent b9927edccd
commit b08a8a7997

View File

@ -182,9 +182,9 @@ angular.module('jobTemplates', [surveyMaker.name, jobTemplatesList.name, jobTemp
$scope.toggle_inventory_source = function(id) {
$scope.inventory_sources.forEach(function(row, i) {
$scope.workflow_inventory_sources.forEach(function(row, i) {
if (row.id === id) {
$scope.inventory_sources[i].checked = 1;
$scope.workflow_inventory_sources[i].checked = 1;
$scope.selection[list.iterator] = {
id: row.id,
name: row.name