1
0
mirror of https://github.com/bitwarden/web synced 2025-12-10 05:13:40 +00:00

add back missing select function

This commit is contained in:
Kyle Spearrin
2018-03-19 11:14:28 -04:00
parent 75c05a4a85
commit 4ccd9501a8

View File

@@ -425,6 +425,11 @@
selectAll(true); selectAll(true);
}; };
$scope.select = function ($event) {
var checkbox = $($event.currentTarget).closest('tr').find('input[name="cipherSelection"]');
checkbox.prop('checked', !checkbox.prop('checked'));
};
function distinct(value, index, self) { function distinct(value, index, self) {
return self.indexOf(value) === index; return self.indexOf(value) === index;
} }