Changeset 9241
- Timestamp:
- Jun 8, 2011, 1:12:33 PM (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/static/heatmap_extensions.js
r9239 r9241 20 20 function(json) { 21 21 $.each(json, function(i,json){ 22 $("<option value='" + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#select_user"); 22 // $("<option value='" + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#select_user"); 23 $("#select_user").append($("<option/>").attr("value",json.gebruiker).text(json.gebruiker)); 23 24 $.each(json.meetrondje, function(m, meetrondje){ 24 25 $("<option class='" + json.gebruiker + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#select_dataset"); … … 48 49 lname = encodeURIComponent(document.getElementById("lname").value); 49 50 50 if (user != ' All'){user='&meetrondje__gebruiker__naam='+user;}51 if (user != ''){user='&meetrondje__gebruiker__naam='+user;} 51 52 else{user='';} 52 if (dataset != ' All'){dataset='&meetrondje__naam='+dataset;}53 if (dataset != ''){dataset='&meetrondje__naam='+dataset;} 53 54 else{dataset='';} 54 if (wlnode != ' All'){wlnode='&accespoint__ssid='+wlnode;}55 if (wlnode != ''){wlnode='&accespoint__ssid='+wlnode;} 55 56 else{wlnode='';} 56 57 if (enc != ''){enc='&accespoint__encryptie='+enc;} 57 if (date != ' All'){date='&meetrondje__datum='+date;}58 if (date != ''){date='&meetrondje__datum='+date;} 58 59 else{date='';} 59 60 if (colour != ''){colour='colour='+colour;}
Note:
See TracChangeset
for help on using the changeset viewer.