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).next()
|
||||||
: $('.OxHeadCell' + stopSelector));
|
: $('.OxHeadCell' + stopSelector));
|
||||||
$resize.detach().insertAfter($column);
|
$resize.detach().insertAfter($column);
|
||||||
that.$body.find('.OxItem').each(function() {
|
that.$body.$element.find('.OxItem').each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
$this.children(startSelector).detach()[insert](
|
$this.children(startSelector).detach()[insert](
|
||||||
$this.children(stopSelector)
|
$this.children(stopSelector)
|
||||||
|
@ -695,7 +695,7 @@ Ox.TextList = function(options, self) {
|
||||||
that.$head.$content.empty();
|
that.$head.$content.empty();
|
||||||
constructHead();
|
constructHead();
|
||||||
itemWidth = getItemWidth();
|
itemWidth = getItemWidth();
|
||||||
that.$body.find('.OxItem').each(function() {
|
that.$body.$element.find('.OxItem').each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
$this.children(selector).remove();
|
$this.children(selector).remove();
|
||||||
$this.css({width: itemWidth + 'px'});
|
$this.css({width: itemWidth + 'px'});
|
||||||
|
|
Loading…
Reference in a new issue