mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added chosen.js support to dropdown in fieldgroup
This commit is contained in:
parent
b68cd6610c
commit
e71adf6b6b
@ -906,7 +906,7 @@ jQuery.noConflict();
|
|||||||
* we can fix the height cropping.
|
* we can fix the height cropping.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$('.cms .field.dropdown select, .cms .field select[multiple]').entwine({
|
$('.cms .field.dropdown select, .cms .field select[multiple], .fieldholder-small select.dropdown').entwine({
|
||||||
onmatch: function() {
|
onmatch: function() {
|
||||||
if(this.is('.no-chzn')) {
|
if(this.is('.no-chzn')) {
|
||||||
this._super();
|
this._super();
|
||||||
|
Loading…
Reference in New Issue
Block a user