Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #100 from cnardi-dev/2.0
Browse files Browse the repository at this point in the history
hot fix to multi-select for assigning triggers to notifications.
  • Loading branch information
bsura authored Aug 22, 2016
2 parents 7cc2cb6 + 125dd30 commit fea1612
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions ArgusWeb/app/views/alerts/alert-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,7 @@ <h3 class="bcTitle">{{alert.name}}</h3>
<td><input class="form-control" type="text" ng-list ng-model="notification.subscriptions" /></td>
<td><input class="form-control" type="text" ng-list ng-model="notification.metricsToAnnotate" /></td>
<td><input class="form-control" type="text" ng-model="notification.cooldownPeriod" /></td>
<td>
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i class="glyphicon glyphicon-cog"></i>
</button>
<select stop-event class='dropdown-menu' ng-model="notification.triggersIds" multiple="multiple"
ng-options="id for id in getTriggerIds()">
</select>
</div>
</td>
<td><select class="form-control" multiple="multiple" ng-model="notification.triggersIds" ng-options="id for id in getTriggerIds()"></select></td>
<td>
<button class="btn btn-warning btn-sm" type="button"
ng-confirm='Delete "{{notification.name}}"?' ng-confirm-action='removeNotification(notification)'>
Expand Down

0 comments on commit fea1612

Please sign in to comment.