Ignore:
Timestamp:
Jun 8, 2011, 1:12:33 PM (13 years ago)
Author:
dennisw
Message:

heatmap_extensions_test.js is now heatmap_extensions.js

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/django_gheat/website/static/heatmap_extensions.js

    r9239 r9241  
    2020    function(json) {
    2121      $.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));
    2324        $.each(json.meetrondje, function(m, meetrondje){
    2425          $("<option class='" + json.gebruiker + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#select_dataset");
     
    4849    lname = encodeURIComponent(document.getElementById("lname").value);
    4950
    50     if (user != 'All'){user='&meetrondje__gebruiker__naam='+user;}
     51    if (user != ''){user='&meetrondje__gebruiker__naam='+user;}
    5152    else{user='';}
    52     if (dataset != 'All'){dataset='&meetrondje__naam='+dataset;}
     53    if (dataset != ''){dataset='&meetrondje__naam='+dataset;}
    5354    else{dataset='';}
    54     if (wlnode != 'All'){wlnode='&accespoint__ssid='+wlnode;}
     55    if (wlnode != ''){wlnode='&accespoint__ssid='+wlnode;}
    5556    else{wlnode='';}
    5657    if (enc != ''){enc='&accespoint__encryptie='+enc;}
    57     if (date != 'All'){date='&meetrondje__datum='+date;}
     58    if (date != ''){date='&meetrondje__datum='+date;}
    5859    else{date='';}
    5960    if (colour != ''){colour='colour='+colour;}
Note: See TracChangeset for help on using the changeset viewer.