Ignore:
Timestamp:
2012-09-11T10:24:14+12:00 (12 years ago)
Author:
sjm84
Message:

When a place is clicked the "Scroll through places" checkbox becomes unchecked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js

    r26160 r26161  
    4747        startStopCheckbox.setAttribute("type", "checkbox");
    4848        startStopCheckbox.setAttribute("checked", "true");
     49        startStopCheckbox.setAttribute("id", "scrollCheckbox");
    4950        startStopCheckbox.onclick = function()
    5051        {
     
    370371        clearAllInfoBoxes();
    371372        doc.marker.markerInfo.open(_map, doc.marker);
     373        var scrollCheckbox = document.getElementById("scrollCheckbox");
     374        if(scrollCheckbox.checked)
     375        {
     376            scrollCheckbox.checked = false;
     377        }
    372378    }
    373379}
Note: See TracChangeset for help on using the changeset viewer.