All form Save and Reset buttons now built with same icon, color, size. Fixed bug on Organization add/edit form that prevented Reset button from working. Fixed Jobs drop-down navigation menu- icon was missing on some pages.

This commit is contained in:
Chris Houseknecht
2013-12-20 23:48:04 +00:00
parent d02d2ebf15
commit 7ef25fec57
14 changed files with 19 additions and 72 deletions

View File

@@ -102,17 +102,11 @@ angular.module('UserFormDefinition', [])
buttons: { //for now always generates <button> tags
save: {
label: 'Save',
icon: 'icon-ok',
"class": 'btn-success',
ngClick: 'formSave()', //$scope.function to call on click, optional
ngDisabled: true //Disable when $pristine or $invalid, optional
},
reset: {
ngClick: 'formReset()',
label: 'Reset',
icon: 'icon-undo',
'class': 'btn btn-default',
ngDisabled: true //Disabled when $pristine
}
},