Changeset 32604
- Timestamp:
- 2018-11-15T14:19:55+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js
r30736 r32604 13 13 var _searchRunning = false; 14 14 var _nearbyDocs = new Array(); 15 var _scrollThroughDefault = true; 15 16 16 17 function initializeMapScripts() … … 44 45 if(_docList.ids.length > 1) 45 46 { 46 var startStopCheckbox = $("<input>", {"type": "checkbox", "checked": "true", "id": "scrollCheckbox"});47 var startStopCheckbox = $("<input>", {"type": "checkbox", "checked": _scrollThroughDefault, "id": "scrollCheckbox"}); 47 48 startStopCheckbox.click(function() 48 49 { … … 70 71 71 72 $(container).insertAfter("#map_canvas"); 72 73 74 if (_scrollThroughDefault) { 73 75 _intervalHandle = setInterval(loopThroughMarkers, 2000); 76 } 77 74 78 } 75 79 }
Note:
See TracChangeset
for help on using the changeset viewer.