maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH 1/2] CSS and JS fixes


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] [PATCH 1/2] CSS and JS fixes
Date: Sun, 10 Jan 2010 22:13:20 +0100

Thanks. Pulled and pushed, together with
 [PATCH 2/2] Fix Django 1.0 compatibility
 [PATCH 1/2] Restore infobox styling information
 [PATCH 2/2] Allow Enter to be pressed to validate the form once a
             result has been selected

Le Sun, 10 Jan 2010 21:41:21 +0100,
Maxime Petazzoni <address@hidden> a écrit :

> ---
>  www/media/osm_map.js |    4 +++-
>  www/media/style.css  |    1 +
>  2 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/www/media/osm_map.js b/www/media/osm_map.js
> index 7902c8c..e995ddf 100644
> --- a/www/media/osm_map.js
> +++ b/www/media/osm_map.js
> @@ -194,8 +194,10 @@ function suggest(input, results, osm_id, button,
> options) { }
>  
>    function doQuery() {
> -    if (!$input.val().length)
> +    if (!$input.val().length) {
> +      closeSuggest();
>        return;
> +    }
>      $(input).css('cursor', 'wait');
>      $.getJSON("/nominatim/", { q: $input.val() },
> handleNominatimResults); }
> diff --git a/www/media/style.css b/www/media/style.css
> index 557a947..d43520c 100644
> --- a/www/media/style.css
> +++ b/www/media/style.css
> @@ -113,6 +113,7 @@ ul#nav li.activelink a {
>    clear: both;
>    margin: 1em;
>    margin-top: 2em;
> +  width: auto;
>  }
>  
>  /* Main content */


-- 
Thomas Petazzoni                         http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse              http://www.toulibre.org

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]