always set templateSelection for chosen select

This commit is contained in:
Uwe Steinmann 2020-07-22 14:56:43 +02:00
parent e94631bbde
commit d364f750b8

View File

@ -377,7 +377,8 @@ $(document).ready( function() {
element.html(data);
$(".chzn-select").select2({
width: '100%',
templateResult: chzn_template_func
templateResult: chzn_template_func,
templateSelection: chzn_template_func
});
$(".pwd").passStrength({ /* {{{ */
url: "../op/op.Ajax.php",
@ -425,7 +426,8 @@ $(document).ready( function() {
element.html(data);
$(".chzn-select").select2({
width: '100%',
templateResult: chzn_template_func
templateResult: chzn_template_func,
templateSelection: chzn_template_func
});
$(".pwd").passStrength({ /* {{{ */
url: "../op/op.Ajax.php",