mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-29 11:21:49 -05:00
Add contextual variables and update references
This commit is contained in:
@@ -38,14 +38,14 @@ function atFormActionController ($state) {
|
||||
vm.setCancelDefaults = () => {
|
||||
scope.text = 'CANCEL';
|
||||
scope.fill = 'Hollow';
|
||||
scope.color = 'white';
|
||||
scope.color = 'default';
|
||||
scope.action = () => $state.go('^');
|
||||
};
|
||||
|
||||
vm.setSaveDefaults = () => {
|
||||
scope.text = 'SAVE';
|
||||
scope.fill = '';
|
||||
scope.color = 'green';
|
||||
scope.color = 'success';
|
||||
scope.action = () => form.submit();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user