admin: validate team association on enter press
This commit is contained in:
parent
e945071a10
commit
e45a674937
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue