anchor.diff:  	      source: function(query, process) {
   	          if (timeout) {
   	            clearTimeout(timeout);
  +	            $('#submit_button').attr("disabled", "disabled");
   	          }
   	          timeout = setTimeout(function() {
   	            return $.ajax({
  
positive.code:   	var typeahead_min_chars = <%= Rails.application.config.ui_typeahead_min_chars %>
    	var typeahead_list_length = <%= Rails.application.config.ui_typeahead_list_length %>
    	var timeout;
  
  	  // Enable typeahead for the filter
  	  $('#filter').typeahead({
  	      items: typeahead_list_length,
  
negative.code: 	        // Update the UI
  	        $('#filter').attr('value', item.name);
  	        $('#asset_subtype').attr('value', item.id);
  			$('#submit_button').removeAttr("disabled");    
  	        var url = '/inventory/details/?asset_subtype=' + item.id
  	        transam.ajax_render_action(url, 'get');
  	        return item.name;
  