maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] [PATCH] Fix a bug : using JQuery to set the value attri


From: Pierre Mauduit
Subject: [Maposmatic-dev] [PATCH] Fix a bug : using JQuery to set the value attribute
Date: Tue, 22 Dec 2009 11:15:03 +0100

From: Pierre Mauduit <address@hidden>

---
 www/templates/maposmatic/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/www/templates/maposmatic/index.html 
b/www/templates/maposmatic/index.html
index d618c4f..da06ecb 100644
--- a/www/templates/maposmatic/index.html
+++ b/www/templates/maposmatic/index.html
@@ -136,7 +136,7 @@ function update_hidden(obj)
 {
   toggle_form_validation("true");
 
-  $("#id_administrative_osmid").attr("value", obj.value);
+  $("#id_administrative_osmid").attr("value", obj.attr("value"));
   $("#id_administrative_city").attr("value", obj.attr("display_name"));
 }
 
-- 
1.6.5.7





reply via email to

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