From d364f750b868d24be74dbeee3195627227022768 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 22 Jul 2020 14:56:43 +0200 Subject: [PATCH] always set templateSelection for chosen select --- styles/bootstrap/application.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/styles/bootstrap/application.js b/styles/bootstrap/application.js index a50736333..8e23f63f9 100644 --- a/styles/bootstrap/application.js +++ b/styles/bootstrap/application.js @@ -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",