mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
commit
42bb8b4bf6
|
@ -35,8 +35,18 @@ $(document).ready( function() {
|
||||||
return $newstate;
|
return $newstate;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(".chzn-select-deselect").select({
|
$(".chzn-select-deselect").select2({
|
||||||
allowClear:true
|
allowClear:true,
|
||||||
|
width: '100%',
|
||||||
|
templateResult: function (state) {
|
||||||
|
var subtitle = $(state.element).data('subtitle');
|
||||||
|
var html = '<span>'+state.text+'';
|
||||||
|
if(subtitle)
|
||||||
|
html += '<br /><i>'+subtitle+'</i>';
|
||||||
|
html += '</span>';
|
||||||
|
var $newstate = $(html);
|
||||||
|
return $newstate;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/* change the color and length of the bar graph showing the password
|
/* change the color and length of the bar graph showing the password
|
||||||
|
|
Loading…
Reference in New Issue
Block a user