app/assets/javascripts/caboose/model/bound_textarea.js in caboose-cms-0.2.31 vs app/assets/javascripts/caboose/model/bound_textarea.js in caboose-cms-0.2.32
- old
+ new
@@ -70,13 +70,14 @@
$('#'+this2.el+'_controls').remove();
});
},
save: function() {
+
this.attribute.value = $('#'+this.el).val();
if (this.attribute.value == this.attribute.value_clean)
return;
-
+
this.hide_controls();
this.show_loader();
var this2 = this;
this.model.save(this.attribute, function(resp) {
if (resp.error)