1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

initListSectionItemListeners

This commit is contained in:
Kyle Spearrin
2016-09-10 22:34:17 -04:00
parent d78dfac43c
commit eed9956ff5
3 changed files with 56 additions and 8 deletions

View File

@@ -7,14 +7,7 @@
};
$('#name').focus();
$('.list-section-item').click(function (e) {
e.preventDefault();
$(this).find('input[type="text"], textarea, select').focus();
var checkbox = $(this).find('input[type="checkbox"]');
if (checkbox.length > 0) {
checkbox.prop('checked', !checkbox.is(':checked'));
}
});
popupUtils.initListSectionItemListeners();
$scope.savePromise = null;
$scope.save = function (model) {