Merge branch 'release' into improved-file-handling

pull/22/head
Frode Petterson 2016-06-15 10:34:34 +02:00
commit ba2f7c5e67
1 changed files with 5 additions and 0 deletions

View File

@ -288,6 +288,11 @@ var H5PDataView = (function ($) {
var self = this;
if (self.pagination === undefined) {
if (self.table === undefined) {
// No table, no pagination
return;
}
// Create new widget
var $pagerContainer = $('<div/>', {'class': 'h5p-pagination'});
self.pagination = new H5PUtils.Pagination(num, self.limit, function (offset) {