update placeholder

This commit is contained in:
j 2019-01-31 11:01:25 +05:30
parent 32d3275bd3
commit 28cc45485a

View file

@ -36,6 +36,9 @@ Ox.EditableContent = function(options, self) {
submit(); submit();
} }
}, },
placeholder: function() {
!self.options.editing && that.html(formatValue());
},
highlight: function() { highlight: function() {
!self.options.editing && that.html(formatValue()); !self.options.editing && that.html(formatValue());
}, },