From 0c5e61c6783a8f92f28c5b33cf5dd6d0effd46e8 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 6 Sep 2010 01:34:39 +0200 Subject: [PATCH] clear pages cache on column move/remove --- build/js/ox.ui.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index b3ab8f17..f6011489 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -6558,7 +6558,7 @@ requires $.each(self.visibleColumns, function(i, column) { if (ids.indexOf(column.id) == -1) { removeColumn(column.id); - return false + return false; } }); } @@ -6679,7 +6679,7 @@ requires return self.columnOffsets[i] - self.columnOffsets[startPos] }); $('.OxColumn' + Ox.toTitleCase(id)).css({ - opacity: 0.1 + opacity: 0.25 }); that.$titles[startPos].addClass('OxDrag').css({ // fixme: why does the class not work? cursor: 'move' @@ -6724,6 +6724,7 @@ requires that.$titles[stopPos].removeClass('OxDrag').css({ cursor: 'pointer' }); + that.$body.clearCache(); } function getColumnIndexById(id) { @@ -6808,6 +6809,7 @@ requires return v.id; }) }); + that.$body.clearCache(); } function resize() {