mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
select 2 never autocomplete
This commit is contained in:
parent
9f01029520
commit
7b956d3ca1
@ -994,6 +994,12 @@ function html_print_select(
|
|||||||
}';
|
}';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hack for not autocomplete never select2 browser.
|
||||||
|
$output .= '$(document).on("focus", ":input", function(){
|
||||||
|
$(this).attr("autocomplete", "new-password");
|
||||||
|
});';
|
||||||
|
$output .= '$("input.select2-input").attr("autocomplete", "new-password");';
|
||||||
|
|
||||||
$output .= '</script>';
|
$output .= '</script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user