mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
feature #3077: Check if no elements are added to the data table
This commit is contained in:
parent
1021e37021
commit
1c7f6fa481
@ -1293,7 +1293,10 @@ function updateView(item_list,dataTable){
|
||||
var prev_start = dTable_settings._iDisplayStart;
|
||||
|
||||
dataTable.fnClearTable(false);
|
||||
dataTable.fnAddData(item_list, false);
|
||||
|
||||
if (item_list.length > 0) {
|
||||
dataTable.fnAddData(item_list, false);
|
||||
}
|
||||
|
||||
var new_start = prev_start;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user