From ac7ce111e22a6102d0ed7fa70ce39f300d8119fc Mon Sep 17 00:00:00 2001 From: Luke Evers Date: Fri, 21 Jun 2013 10:55:41 -0400 Subject: [PATCH] Adding nodes works with the new layout. It's using the old modal, which is fine. Still some things need to be worked on. Ref #41 Ref #42 Ref #43 --- res/js/loadmap.js.tmpl | 2 +- res/webpages/index.html.tmpl | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/res/js/loadmap.js.tmpl b/res/js/loadmap.js.tmpl index fe14def..8cdaef6 100644 --- a/res/js/loadmap.js.tmpl +++ b/res/js/loadmap.js.tmpl @@ -37,7 +37,7 @@ $(document).ready(function() { addNode.onAdd = function (map) { var div = L.DomUtil.create('div', 'leaflet-control-zoom leaflet-control'); - div.innerHTML = ''; + div.innerHTML = ''; return div; }; diff --git a/res/webpages/index.html.tmpl b/res/webpages/index.html.tmpl index eda3147..4e5af8f 100644 --- a/res/webpages/index.html.tmpl +++ b/res/webpages/index.html.tmpl @@ -17,6 +17,22 @@ + + + +