From df34d4772351a6a4a1b347e69610119f52f9cd52 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Fri, 7 Sep 2012 11:06:30 +0530 Subject: [PATCH 1/2] 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 ) { From 5ce0dac72d24718fe7ddb312f71d0ea9c2cf1de9 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Fri, 7 Sep 2012 13:46:12 +0530 Subject: [PATCH 2/2] JsHint fixes - Move the invocation into the parens that contain the function. Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc --- data/fontrepo/scripts/compile.php | 6 +++--- resources/js/ext.uls.displaysettings.js | 2 +- resources/js/ext.uls.init.js | 2 +- resources/js/ext.uls.languagesettings.js | 2 +- resources/js/ext.uls.webfonts.repository.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data/fontrepo/scripts/compile.php b/data/fontrepo/scripts/compile.php index 205e619f..768af87f 100644 --- a/data/fontrepo/scripts/compile.php +++ b/data/fontrepo/scripts/compile.php @@ -34,11 +34,11 @@ ksort( $list['languages'] ); ksort( $list['fonts'] ); $json = json_encode( $list ); -$js = <<