maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] [PATCH] Maxime's remarks


From: Pierre Mauduit
Subject: [Maposmatic-dev] [PATCH] Maxime's remarks
Date: Tue, 22 Dec 2009 16:51:07 +0100

From: Pierre Mauduit <address@hidden>

- If city's text input is modified after having selected a
  location, we have to de-activate the green arrow et empty
  the results list.
---
 www/templates/maposmatic/index.html |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/www/templates/maposmatic/index.html 
b/www/templates/maposmatic/index.html
index 58c7250..99654bd 100644
--- a/www/templates/maposmatic/index.html
+++ b/www/templates/maposmatic/index.html
@@ -58,6 +58,12 @@ function pageinit()
                                            validate_city_search();
                                            return false;
                                          }
+                                         /* reset form */
+                                         else
+                                         {
+                                           
$("#result_nominatim_search").empty();
+                                           toggle_form_validation("false");
+                                         }
                                        });
 
   /* the keypress event is responsible of posting our form. We need to
-- 
1.6.5.7





reply via email to

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