Prevent updating pagination when there's no table.

redesign-copyrights wp-1.5.1
Frode Petterson 2015-05-21 09:50:58 +02:00
parent 227e0829fd
commit 8e82b515a2
1 changed files with 3 additions and 3 deletions

View File

@ -100,10 +100,10 @@ var H5PDataView = (function ($) {
else {
// Update table data
self.updateTable(data.rows);
}
// Update pagination widget
self.updatePagination(data.num);
// Update pagination widget
self.updatePagination(data.num);
}
if (self.loaded !== undefined) {
self.loaded();