Changeset 9317 for src/django_gheat/website/static/heatmap_extensions.js
- Timestamp:
- Jun 30, 2011, 3:56:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/static/heatmap_extensions.js
r9316 r9317 143 143 144 144 /** 145 * Toggles layerswitchervisibility.146 * On ' off', toggler shows a '+'.147 * On ' on', toggler shows a '-'.145 * Toggles category visibility. 146 * On 'visible', toggler shows a '^'. 147 * On 'invisible', toggler shows a 'v'. 148 148 */ 149 149 $("#cat_hide").live("click", function(){ … … 213 213 else{ 214 214 $(this).text('(Add all users)'); 215 $.each( userlist, function(u, user){216 layer = map.getLayersByName( user);215 $.each($('#user span'), function(s, span){ 216 layer = map.getLayersByName(span.id); 217 217 map.removeLayer(layer[0]); 218 $(span).remove(); 218 219 }); 219 220 }
Note:
See TracChangeset
for help on using the changeset viewer.