changeset 1818:41469a2f3904

Sync.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 30 Oct 2017 03:24:36 +0200
parents ad3fc99c5aa9
children 5df0021836bc 95d7108f52e2
files www/search.html www/search.js
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/www/search.html	Mon Oct 30 03:04:08 2017 +0200
+++ b/www/search.html	Mon Oct 30 03:24:36 2017 +0200
@@ -113,7 +113,7 @@
   <div id="controls">
     <div id="mapList">LOADING MAP LIST...</div>
     <button id="btnMaps" type="button">C^</button>
-    <button class="large" id="btnReset" type="button">Reset search</button>
+    <button class="large" id="btnClear" type="button">Clear search</button>
     <button class="large" id="btnSearch" type="button">Search</button>
   </div>
 </div>
--- a/www/search.js	Mon Oct 30 03:04:08 2017 +0200
+++ b/www/search.js	Mon Oct 30 03:24:36 2017 +0200
@@ -256,10 +256,10 @@
 
   mapAddEventOb(btnSearch, "click", mapPerformSearch);
 
-  mapAddEvent("btnReset", "click",
+  mapAddEvent("btnClear", "click",
   function ()
   {
-    mapLog("Cleared pattern and results.");
+    mapLog("Cleared search pattern and results.");
     fieldRes.innerHTML = "";
     fieldPattern.value = "";
   });