Ignore:
Timestamp:
Jun 7, 2011, 5:19:17 PM (13 years ago)
Author:
dennisw
Message:

Used Rick's last Rev to make the filters work better. Will fix rest later.

Added jquery-1.6.1 to static, no more loading from sites like googleapis.com.

File:
1 edited

Legend:

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

    r9237 r9239  
    2020    function(json) {
    2121      $.each(json, function(i,json){
    22         gebruiker_class = json.gebruiker;
    23         $("<option value='"  + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#mark");
     22        $("<option value='"  + json.gebruiker + "'>" + json.gebruiker + "</option>").appendTo("#select_user");
    2423        $.each(json.meetrondje, function(m, meetrondje){
    25           $("<option class='" + gebruiker_class + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#series");
     24          $("<option class='" + json.gebruiker + "' value='" + meetrondje.naam + "'>"+ meetrondje.naam + "</option>").appendTo("#select_dataset");
    2625          $.each(meetrondje.nodes, function(n, nodes){
    27             $("<option>" + nodes + "</option>").appendTo("#model");
     26            $("<option class='" + meetrondje.naam + "' value='" + nodes + "'>" + nodes + "</option>").appendTo("#select_node");
    2827          });
    2928//          $("<option>" + meetrondje.datum + "</option>").appendTo("#select_date");
     
    3130      });
    3231// Initiate the chain
    33     $("#series").chained("#mark");
    34     $("#model").chained("#series");
     32    $("#select_dataset").chained("#select_user");
     33    $("#select_node").chained("#select_dataset");
    3534    }
    3635  );
Note: See TracChangeset for help on using the changeset viewer.