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:
parent
0413258850
commit
4823b0b845
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user