From df34d4772351a6a4a1b347e69610119f52f9cd52 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Fri, 7 Sep 2012 11:06:30 +0530 Subject: [PATCH] Fix Bug 39096 - Narayam compatibility with ULS * Correct the event propagation * Narayam blue background prevents the autocomplete visible. Overriding background color with transparent, but that does not look good. May be we should consider this while designing jquery.ime Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b --- lib/jquery.uls/css/jquery.uls.css | 2 +- lib/jquery.uls/src/jquery.uls.core.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/jquery.uls/css/jquery.uls.css b/lib/jquery.uls/css/jquery.uls.css index f581c8e9..4fd45754 100644 --- a/lib/jquery.uls/css/jquery.uls.css +++ b/lib/jquery.uls/css/jquery.uls.css @@ -154,7 +154,7 @@ input#languagefilter { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset; color: #333; display: block; - background-color: transparent; + background-color: transparent !important; } input:focus#languagefilter { diff --git a/lib/jquery.uls/src/jquery.uls.core.js b/lib/jquery.uls/src/jquery.uls.core.js index cef10095..776aee62 100644 --- a/lib/jquery.uls/src/jquery.uls.core.js +++ b/lib/jquery.uls/src/jquery.uls.core.js @@ -264,8 +264,8 @@ if ( e.keyCode === 27 ) { // escape this.hide(); e.preventDefault(); + e.stopPropagation(); } - e.stopPropagation(); }, keypress: function( e ) { @@ -275,8 +275,8 @@ if ( e.keyCode === 27 ) { // escape this.hide(); e.preventDefault(); + e.stopPropagation(); } - e.stopPropagation(); }, click: function( e ) {