mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
always set templateSelection for chosen select
This commit is contained in:
parent
e94631bbde
commit
d364f750b8
|
@ -377,7 +377,8 @@ $(document).ready( function() {
|
||||||
element.html(data);
|
element.html(data);
|
||||||
$(".chzn-select").select2({
|
$(".chzn-select").select2({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
templateResult: chzn_template_func
|
templateResult: chzn_template_func,
|
||||||
|
templateSelection: chzn_template_func
|
||||||
});
|
});
|
||||||
$(".pwd").passStrength({ /* {{{ */
|
$(".pwd").passStrength({ /* {{{ */
|
||||||
url: "../op/op.Ajax.php",
|
url: "../op/op.Ajax.php",
|
||||||
|
@ -425,7 +426,8 @@ $(document).ready( function() {
|
||||||
element.html(data);
|
element.html(data);
|
||||||
$(".chzn-select").select2({
|
$(".chzn-select").select2({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
templateResult: chzn_template_func
|
templateResult: chzn_template_func,
|
||||||
|
templateSelection: chzn_template_func
|
||||||
});
|
});
|
||||||
$(".pwd").passStrength({ /* {{{ */
|
$(".pwd").passStrength({ /* {{{ */
|
||||||
url: "../op/op.Ajax.php",
|
url: "../op/op.Ajax.php",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user