* VRFS-2053 - fixed

This commit is contained in:
Seth Call 2014-08-14 16:54:36 -05:00
parent e4a8ce3759
commit 134826c1ff
1 changed files with 3 additions and 2 deletions

View File

@ -247,10 +247,11 @@
unassignOutputChannel($channel);
}
else {
var $output = $outputChannelHolder.find('.output[data-num="' + index + '"]')
var $output = $outputChannelHolder.find('.output[data-num="' + outputAssignment + '"]');
outputAssignment++;
if($output.length == 0) {
context.JK.alertSupportedNeeded('Unable to find an output for channel with assignment ' + outputChannel.assignment);
context.JK.alertSupportedNeeded('Unable to find an output holder for channel: ' + outputChannel.id + ' with assignment ' + outputChannel.assignment);
return false;
}
addChannelToOutput($channel, $output.find('.output-target'));