fix options request parsing for church's changes to API

This commit is contained in:
John Mitchell 2015-05-11 16:14:29 -04:00
parent 76f01cbc2a
commit b82ede3ee1

View File

@ -44,8 +44,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
for (i = 0; i < choices.length; i++) {
if (choices[i][0] !== 'file') {
scope[variable].push({
label: ((choices[i][0] === '') ? 'Manual' : choices[i][1]),
value: (choices[i][0] === '') ? 'manual' : choices[i][0]
label: choices[i][1],
value: choices[i][0]
});
}
}