fix a regression that would affect adding, moving and removing list columns
This commit is contained in:
parent
5c7a19ac01
commit
01306dd5ae
1 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ Ox.TextList = function(options, self) {
|
|||
? $('.OxHeadCell' + stopSelector).next()
|
||||
: $('.OxHeadCell' + stopSelector));
|
||||
$resize.detach().insertAfter($column);
|
||||
that.$body.find('.OxItem').each(function() {
|
||||
that.$body.$element.find('.OxItem').each(function() {
|
||||
var $this = $(this);
|
||||
$this.children(startSelector).detach()[insert](
|
||||
$this.children(stopSelector)
|
||||
|
@ -695,7 +695,7 @@ Ox.TextList = function(options, self) {
|
|||
that.$head.$content.empty();
|
||||
constructHead();
|
||||
itemWidth = getItemWidth();
|
||||
that.$body.find('.OxItem').each(function() {
|
||||
that.$body.$element.find('.OxItem').each(function() {
|
||||
var $this = $(this);
|
||||
$this.children(selector).remove();
|
||||
$this.css({width: itemWidth + 'px'});
|
||||
|
|
Loading…
Reference in a new issue