Merge branch 'master' of github.com:elastic/kibana into implement/devLiveOptimizer

This commit is contained in:
spalger 2015-08-11 08:52:24 -07:00
commit c31109ec61
2 changed files with 4 additions and 2 deletions

View file

@ -49,7 +49,7 @@ Here are some hints for getting eslint setup in your favorite editor:
| Editor | Plugin |
| --- | --- | --- |
| Sublime | [SublimeLinter-eslint](https://github.com/SublimeLinter/SublimeLinter-eslint#installation) |
| Sublime | [SublimeLinter-eslint](https://github.com/roadhump/SublimeLinter-eslint#installation) |
| Atom | [linter-eslint](https://github.com/AtomLinter/linter-eslint#installation) |
| IntelliJ | Settings » Languages & Frameworks » JavaScript » Code Quality Tools » ESLint |
| vi | [scrooloose/syntastic](https://github.com/scrooloose/syntastic) |

View file

@ -81,7 +81,9 @@ define(function (require) {
};
$scope.bulkDelete = function () {
$scope.currentTab.service.delete(_.pluck($scope.selectedItems, 'id')).then(refreshData);
$scope.currentTab.service.delete(_.pluck($scope.selectedItems, 'id')).then(refreshData).then(function () {
$scope.selectedItems.length = 0;
});
};
$scope.bulkExport = function () {