don't rebuild list item while a cell is in edit state

This commit is contained in:
j 2018-11-14 14:35:22 +00:00
parent 3104ccb9ec
commit cbd948740a

View file

@ -28,7 +28,9 @@ Ox.ListItem = function(options, self) {
.options(options || {}) .options(options || {})
.update({ .update({
data: function() { data: function() {
constructItem(true); if (!that.find('.OxEdit').length) {
constructItem(true);
}
}, },
position: function() { position: function() {
that.data({position: self.options.position}); that.data({position: self.options.position});