|
|
|
@ -202,7 +202,7 @@ function perform_query() {
|
|
|
|
|
$.getJSON('https://www.elab.kth.se/parts/query/' + filter + '/' + query, function(data) {
|
|
|
|
|
var newResults = $('<div class="results"></div>');
|
|
|
|
|
for(var i = 0; i < data.length; i++) { // Create new view for results
|
|
|
|
|
var newRow = $('<div class="reults-row"></div>');
|
|
|
|
|
var newRow = $('<div class="results-row"></div>');
|
|
|
|
|
var newClicker = $('<a href="#" onclick="show_part_info(' + data[i].id + ')"></a>');
|
|
|
|
|
|
|
|
|
|
newClicker.append($('<div class="results-block"></div>').text(text_filter(data[i].block)));
|
|
|
|
|