clear pages cache on column move/remove

This commit is contained in:
rolux 2010-09-06 01:34:39 +02:00
parent 5e290e410d
commit d96094f0df

View File

@ -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() {