mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 20:01:48 -05:00
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:
@@ -243,16 +243,11 @@ angular.module('CredentialFormDefinition', [])
|
||||
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
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user