1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Pass the event when calling addTag()

This commit is contained in:
Michael Abashian 2016-07-01 14:02:14 -04:00
parent 27abf03452
commit 05ed7d6f41

View File

@ -23,7 +23,7 @@ export default
.bind('keypress', function (e) { .bind('keypress', function (e) {
var code = e.keyCode || e.which; var code = e.keyCode || e.which;
if (code === 13) { if (code === 13) {
scope.addTag(); scope.addTag(e);
} }
}); });
} }