Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa7828e
commit 754d023
Showing
7 changed files
with
26 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
app/views/layouts/angular/_x_custom_form_buttons_angular.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
.clearfix | ||
.pull-right.button-group{"ng-controller" => "buttonGroupController"} | ||
%miq-button{:name => button_label, | ||
:title => button_label, | ||
:alt => button_label, | ||
:enabled => "saveable(angularForm)", | ||
'on-click' => button_click, | ||
:primary => 'true'} | ||
:title => button_label, | ||
:alt => button_label, | ||
:enabled => "saveable(angularForm)", | ||
'on-click' => button_click, | ||
:primary => 'true'} | ||
%miq-button{:name => t = _("Reset"), | ||
:title => t, | ||
:alt => t, | ||
:enabled => '!angularForm.$pristine', | ||
'ng-show' => '!newRecord', | ||
'on-click' => "resetClicked()"} | ||
:title => t, | ||
:alt => t, | ||
:enabled => '!angularForm.$pristine', | ||
'ng-show' => '!newRecord', | ||
'on-click' => "resetClicked()"} | ||
%miq-button{:name => t = _("Cancel"), | ||
:title => t, | ||
:alt => t, | ||
'on-click' => "cancelClicked($event)"} | ||
:title => t, | ||
:alt => t, | ||
'on-click' => "cancelClicked($event)"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
controllerAs="vm"
... why on a button? There's no ng-controller there, is there? (Guessing this was added before you figured out line 10 :))