app/assets/javascripts/caboose/model/bound_select.js in caboose-cms-0.3.92 vs app/assets/javascripts/caboose/model/bound_select.js in caboose-cms-0.3.93
- old
+ new
@@ -38,10 +38,10 @@
.attr('type', 'text')
.attr('id', this.el)
.addClass('mb_fake_option')
.attr('placeholder', this.attribute.empty_text)
.click(function() { this2.edit(); })
- .val(this.attribute.text.length > 0 ? this.attribute.text : this.attribute.empty_text)
+ .val(this.attribute.text && this.attribute.text.length > 0 ? this.attribute.text : this.attribute.empty_text)
);
if (this.attribute.width)
$('#'+this.el).css('width', this.attribute.width);
if (this.attribute.fixed_placeholder)