fix setting value of Ox.EditableContent while not editing
This commit is contained in:
parent
6dc3e96ff1
commit
a919b43c2e
1 changed files with 2 additions and 2 deletions
|
@ -37,10 +37,10 @@ Ox.EditableContent = function(options, self) {
|
|||
}
|
||||
},
|
||||
highlight: function() {
|
||||
!self.options.editing && self.$value.html(formatValue());
|
||||
!self.options.editing && that.html(formatValue());
|
||||
},
|
||||
value: function() {
|
||||
!self.options.editing && self.$value.html(formatValue());
|
||||
!self.options.editing && that.html(formatValue());
|
||||
}
|
||||
})
|
||||
.addClass('OxEditableContent OxSelectable')
|
||||
|
|
Loading…
Reference in a new issue