Merge branch 'release' of github.com:h5p/h5p-php-library into release
commit
9db33dd61b
|
@ -2807,6 +2807,10 @@ class H5PContentValidator {
|
|||
}
|
||||
}
|
||||
if (!(isset($semantics->optional) && $semantics->optional)) {
|
||||
if ($group === NULL) {
|
||||
// Error no value. Errors aren't printed...
|
||||
return;
|
||||
}
|
||||
foreach ($semantics->fields as $field) {
|
||||
if (!(isset($field->optional) && $field->optional)) {
|
||||
// Check if field is in group.
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue