|
|
@ -2299,7 +2299,9 @@ define([
|
|
|
|
value = val;
|
|
|
|
value = val;
|
|
|
|
var $val = $innerblock.find('[data-value="'+val+'"]');
|
|
|
|
var $val = $innerblock.find('[data-value="'+val+'"]');
|
|
|
|
var textValue = name || $val.html() || val;
|
|
|
|
var textValue = name || $val.html() || val;
|
|
|
|
|
|
|
|
setTimeout(function () {
|
|
|
|
$button.find('.cp-dropdown-button-title').html(textValue);
|
|
|
|
$button.find('.cp-dropdown-button-title').html(textValue);
|
|
|
|
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$container.getValue = function () {
|
|
|
|
$container.getValue = function () {
|
|
|
|
return value || '';
|
|
|
|
return value || '';
|
|
|
|