BUGFIX: Fixed issue caused by chosen when dropdowns are used in a widget's cms fields

This commit is contained in:
Ed 2012-07-26 19:57:49 -03:00
parent b3b203735d
commit 7be0e11eb7

View File

@ -168,11 +168,16 @@
}
});
/*$('div.usedWidgets .TreeDropdownField').entwine({
getName: function() {
return 'Widget_TDF_Endpoint';
/**
* Disable chosen
*/
$('div.usedWidgets .field.dropdown select, div.usedWidgets .field select[multiple]').entwine({
onmatch: function() {
$(this).addClass('no-chzn');
this._super();
}
});*/
});
$('div.usedWidgets div.Widget').entwine({
onmatch: function() {