Project

General

Profile

Patch #26395 » focus-selected-project-drdn.patch

Gabriel Cardoso, 2017-07-10 10:45

View differences:

public/javascripts/application.js
function addFilter(field, operator, values) {
var fieldId = field.replace('.', '_');
var tr = $('#tr_'+fieldId);
var filterOptions = availableFilters[field];
if (!filterOptions) return;
......
drdn.find(".autocomplete").focus();
}
e.stopPropagation();
$('.drdn-items a.selected').focus();
}
});
$(document).click(function(e){
if ($(e.target).closest(".drdn").length < 1) {
$(".drdn.expanded").removeClass("expanded");
}
}
});
observeSearchfield('projects-quick-search', null, $('#projects-quick-search').data('automcomplete-url'));
(1-1/2)