admin: validate team association on enter press

This commit is contained in:
nemunaire 2020-01-24 17:46:28 +01:00
parent e945071a10
commit e45a674937
2 changed files with 5 additions and 1 deletions

View file

@ -650,6 +650,10 @@ angular.module("FICApp")
}
};
$scope.validatePKIForm = function(keyEvent) {
if (keyEvent.which === 13)
$scope.associate()
};
$scope.associate = function() {
var targetserial = $("#associationModal").data("certificate");
if (!targetserial) return;