Mercurial > hg > batmud > maputils
comparison www/search.js @ 1818:41469a2f3904
Sync.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 30 Oct 2017 03:24:36 +0200 |
parents | d7deea635463 |
children | 4641b8cbf1fc |
comparison
equal
deleted
inserted
replaced
1817:ad3fc99c5aa9 | 1818:41469a2f3904 |
---|---|
254 fieldLog = document.getElementById("log"); | 254 fieldLog = document.getElementById("log"); |
255 btnSearch = document.getElementById("btnSearch"); | 255 btnSearch = document.getElementById("btnSearch"); |
256 | 256 |
257 mapAddEventOb(btnSearch, "click", mapPerformSearch); | 257 mapAddEventOb(btnSearch, "click", mapPerformSearch); |
258 | 258 |
259 mapAddEvent("btnReset", "click", | 259 mapAddEvent("btnClear", "click", |
260 function () | 260 function () |
261 { | 261 { |
262 mapLog("Cleared pattern and results."); | 262 mapLog("Cleared search pattern and results."); |
263 fieldRes.innerHTML = ""; | 263 fieldRes.innerHTML = ""; |
264 fieldPattern.value = ""; | 264 fieldPattern.value = ""; |
265 }); | 265 }); |
266 | 266 |
267 mapAddEvent("btnMaps", "click", | 267 mapAddEvent("btnMaps", "click", |