make jobs schedules disabled if the user doesn't have permission to edit

This commit is contained in:
John Mitchell
2017-01-30 13:29:21 -05:00
parent ba2ff026b3
commit 4b2daba3f7
4 changed files with 17 additions and 6 deletions

View File

@@ -1271,7 +1271,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
for (i = 0; i < field.options.length; i++) {
html += "<label class=\"radio-inline ";
html += (field.options[i].labelClass) ? ` ${field.options[i].labelClass} "` : "\"";
html += (field.options[i].labelClass) ? ` ${field.options[i].labelClass} "` : "\"";
html += (field.options[i].ngShow) ? this.attr(field.options[i], 'ngShow') : "";
html += ">";
html += "<input type=\"radio\" ";