From 6659d6ee798401bdb61ed15b0342b09ac7b99827 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 27 Apr 2013 10:00:22 -0400 Subject: [PATCH] search hint fixes --- dashboard-ui/css/search.css | 12 ++---------- dashboard-ui/scripts/search.js | 8 ++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dashboard-ui/css/search.css b/dashboard-ui/css/search.css index e1a49b3bfd..c4c3843a7a 100644 --- a/dashboard-ui/css/search.css +++ b/dashboard-ui/css/search.css @@ -141,18 +141,10 @@ @media all and (min-width: 1440px) { .txtSearch { - width: 450px; + width: 400px; } .searchHints { - width: 448px; - } - - .searchHintImage { - width: 12%; - } - - .searchHintContent { - width: 88%; + width: 398px; } } diff --git a/dashboard-ui/scripts/search.js b/dashboard-ui/scripts/search.js index 28efdeb2bd..a6cfd448d8 100644 --- a/dashboard-ui/scripts/search.js +++ b/dashboard-ui/scripts/search.js @@ -253,5 +253,13 @@ } window.Search = new search(); + + $(document).on('pagehide', ".page", function () { + + hideFlyout(this); + + $('#txtSearch', this).val(''); + }); + })(jQuery, document, window, clearTimeout, setTimeout); \ No newline at end of file