From c95873f6d0dc51f3794529165b22bc950a6899a1 Mon Sep 17 00:00:00 2001 From: Payten Giles Date: Thu, 23 Aug 2012 15:08:08 +1000 Subject: [PATCH] reinstate patch of typeahead js to allow native keyup events to propagate --- .../bootstrap/bootstrap-typeahead.archivesspace.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.archivesspace.js b/frontend/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.archivesspace.js index 4eab33ee4..168c87fe2 100644 --- a/frontend/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.archivesspace.js +++ b/frontend/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.archivesspace.js @@ -21,6 +21,7 @@ * Customisations for Archives Space include: * - in render, store item as data on the dropdown option to support * objects as items + * - allow native events to propagate on keyup * ============================================================ */ !function($){ @@ -242,9 +243,10 @@ default: this.lookup() } - - e.stopPropagation() - e.preventDefault() + // ArchivesSpace customisations: allow all native events to + // still propagate. + //e.stopPropagation() + //e.preventDefault() } , blur: function (e) {