Changeset 9811
- Timestamp:
- Dec 21, 2011, 7:14:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/static/heatmap.js
r9782 r9811 62 62 } 63 63 } 64 // Update permalink URL to reflect new location and filters 65 layerid = 0; 66 for (var i=1, len=layers.length; i < len; i++) { 67 var layer = layers[i]; 68 if ($.isArray(layer.url)) { 69 var url = layer.url[0]; 70 } else { 71 var url = layer.url; 72 } 73 var filter = url.split('?')[1]; 74 layerid += 1; 75 params['layername' + i] = layer.name; 76 params['layerfilter' + i] = filter; 77 } 78 params['layercount'] = layerid; 64 79 } 65 //XXX: Hack custom filters in here66 params.customParam = "foo";67 80 return params; 68 81 }
Note:
See TracChangeset
for help on using the changeset viewer.