Commit 069bb4c2 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

disable chrome autofill in datatable search

parent e33134fd
...@@ -22,6 +22,7 @@ minerva (16.0.0~beta.1) stable; urgency=medium ...@@ -22,6 +22,7 @@ minerva (16.0.0~beta.1) stable; urgency=medium
* Bug fix: export model as model could cause an issue (#1500, #1502) * Bug fix: export model as model could cause an issue (#1500, #1502)
* Bug fix: problem with export as image with data overlays (#1503, #1498, * Bug fix: problem with export as image with data overlays (#1503, #1498,
#1496) #1496)
* Bug fix: chrom autofill is disabled for "Search: " in admin panel tables
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 9 Jun 2021 15:00:00 +0200 -- Piotr Gawron <piotr.gawron@uni.lu> Wed, 9 Jun 2021 15:00:00 +0200
......
...@@ -128,6 +128,8 @@ Admin.prototype.init = function () { ...@@ -128,6 +128,8 @@ Admin.prototype.init = function () {
return Promise.all(promises).then(function () { return Promise.all(promises).then(function () {
$(window).trigger('resize'); $(window).trigger('resize');
}).then(function () { }).then(function () {
$("div.dataTables_filter").wrap("<form>");
$("div.dataTables_filter").closest("form").attr("autocomplete", "off");
return self.checkAvailableVersion(); return self.checkAvailableVersion();
}); });
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment