1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

Bug #1880: Keep table page on refresh

This commit is contained in:
Carlos Martín 2013-04-29 16:12:40 +02:00
parent 0413258850
commit 4823b0b845

View File

@ -218,8 +218,14 @@ function updateView(item_list,dataTable){
});
if (dataTable) {
var dTable_settings = dataTable.fnSettings();
var prev_start = dTable_settings._iDisplayStart;
dataTable.fnClearTable();
dataTable.fnAddData(item_list);
dTable_settings._iDisplayStart = prev_start;
dataTable.fnDraw(false);
};