Merge pull request #4166 from lukasolson/issues/4156

Prevent clicking on object editor twice from clearing list
This commit is contained in:
Spencer 2015-06-16 17:26:50 -07:00
commit 0da98101a3

View file

@ -46,6 +46,10 @@ define(function (require) {
});
};
$scope.$watch('state.tab', function (tab) {
if (!tab) $scope.changeTab($scope.services[0]);
});
$scope.toggleAll = function () {
if ($scope.selectedItems.length === $scope.currentTab.data.length) {
$scope.selectedItems.length = 0;