Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix some issues with the State button. may still need work, not sure if
Browse files Browse the repository at this point in the history
the options are disabling as desired, and the menu does not go away
after click.
  • Loading branch information
jshaughn committed Oct 20, 2015
1 parent 8ff866b commit 6797b8a
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ <h3 class="pull-left">Triggers ({{act.headerLinks.total}})</h3>
<div class="hk-table-container">
<div class="hk-actions-table">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
Change State
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" ng-click="act.enableSelected()" ng-disabled="!act.hasDisabledSelectedItems || act.isWorking">Enable</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" ng-click="act.disableSelected()" ng-disabled="act.hasEnabledselectedItems || act.isWorking">Disable</a></li>
<a href="#" class="btn btn-default" dropdown-toggle>
Change State <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="#" ng-click="act.enableSelected()" ng-disabled="!act.hasDisabledSelectedItems || act.isWorking">Enable</a></li>
<li><a href="#" ng-click="act.disableSelected()" ng-disabled="!act.hasEnabledSelectedItems || act.isWorking">Disable</a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 6797b8a

Please sign in to comment.