Skip to content

Commit

Permalink
Added confirmation to dashboard delete, closes #48
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Jan 3, 2014
1 parent ab5b3bc commit 6abaadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/partials/dashLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<h6 ng-hide="elasticsearch.dashboards.length">No dashboards matching your query found</h6>
<table class="table table-condensed table-striped">
<tr bindonce ng-repeat="row in elasticsearch.dashboards | orderBy:['_id']">
<td><a ng-click="elasticsearch_delete(row._id)"><i class="icon-remove"></i></a></td>
<td><a confirm-click="elasticsearch_delete(row._id)" confirmation="Are you sure you want to delete the {{row._id}} dashboard"><i class="icon-remove"></i></a></td>
<td><a href="#/dashboard/elasticsearch/{{row._id}}" bo-text="row._id"></a></td>
<td><a><i class="icon-share" ng-click="share = dashboard.share_link(row._id,'elasticsearch',row._id)" bs-modal="'app/partials/dashLoaderShare.html'"></i></a></td>
</tr>
Expand Down

0 comments on commit 6abaadf

Please sign in to comment.