autocomplete for tables

This commit is contained in:
Marcin Łojewski
2018-06-28 20:16:43 +02:00
parent ffb28c62be
commit ecb04a331b
3 changed files with 12 additions and 5 deletions

View File

@@ -41,6 +41,7 @@ user_sql.adminSettingsUI = function () {
$(ids).autocomplete({
source: function (request, response) {
var post = $(form_id).serializeArray();
post.push({name: "input", value: request["term"]});
$.post(OC.generateUrl(path), post, response, "json");
},
minLength: 0,