Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
var active_timer = 100;
|
||||
|
||||
function init_edit(partID) {
|
||||
$('table#details tr#location td p').hide();
|
||||
$('#location-dropdown').show();
|
||||
@@ -254,7 +256,8 @@ function octopartFetch(){
|
||||
$(document).ready(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('.search-bar').on('keyup', function() {
|
||||
perform_query();
|
||||
clearTimeout(active_timer);
|
||||
active_timer = setTimeout(perform_query, 100);
|
||||
});
|
||||
$('.checkbox').change( function() {
|
||||
if ( !$('#location').is(':checked')
|
||||
|
||||
Reference in New Issue
Block a user