OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/javascripts/project/responsible_attribute.js

15 lines
435 B

jQuery(document).ready(function($) {
$("#project_responsible_id").autocomplete({
ajax: {
null_element: {id: -1, name: I18n.t("js.filter.noneElement")},
data: function (term, page) {
return {
q: term, //search term
page_limit: 10, // page size
page: page, // current page number
id: $("#project_responsible_id").attr("data-projectId")
};
}
}
});
});