clear pages cache on column move/remove

This commit is contained in:
rolux 2010-09-06 01:34:39 +02:00
parent 6702cf29ab
commit 0c5e61c678

View file

@ -6558,7 +6558,7 @@ requires
$.each(self.visibleColumns, function(i, column) { $.each(self.visibleColumns, function(i, column) {
if (ids.indexOf(column.id) == -1) { if (ids.indexOf(column.id) == -1) {
removeColumn(column.id); removeColumn(column.id);
return false return false;
} }
}); });
} }
@ -6679,7 +6679,7 @@ requires
return self.columnOffsets[i] - self.columnOffsets[startPos] return self.columnOffsets[i] - self.columnOffsets[startPos]
}); });
$('.OxColumn' + Ox.toTitleCase(id)).css({ $('.OxColumn' + Ox.toTitleCase(id)).css({
opacity: 0.1 opacity: 0.25
}); });
that.$titles[startPos].addClass('OxDrag').css({ // fixme: why does the class not work? that.$titles[startPos].addClass('OxDrag').css({ // fixme: why does the class not work?
cursor: 'move' cursor: 'move'
@ -6724,6 +6724,7 @@ requires
that.$titles[stopPos].removeClass('OxDrag').css({ that.$titles[stopPos].removeClass('OxDrag').css({
cursor: 'pointer' cursor: 'pointer'
}); });
that.$body.clearCache();
} }
function getColumnIndexById(id) { function getColumnIndexById(id) {
@ -6808,6 +6809,7 @@ requires
return v.id; return v.id;
}) })
}); });
that.$body.clearCache();
} }
function resize() { function resize() {