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 (!(isset($semantics->optional) && $semantics->optional)) {
|
||||||
|
if ($group === NULL) {
|
||||||
|
// Error no value. Errors aren't printed...
|
||||||
|
return;
|
||||||
|
}
|
||||||
foreach ($semantics->fields as $field) {
|
foreach ($semantics->fields as $field) {
|
||||||
if (!(isset($field->optional) && $field->optional)) {
|
if (!(isset($field->optional) && $field->optional)) {
|
||||||
// Check if field is in group.
|
// Check if field is in group.
|
||||||
|
|
|
@ -100,10 +100,10 @@ var H5PDataView = (function ($) {
|
||||||
else {
|
else {
|
||||||
// Update table data
|
// Update table data
|
||||||
self.updateTable(data.rows);
|
self.updateTable(data.rows);
|
||||||
}
|
|
||||||
|
|
||||||
// Update pagination widget
|
// Update pagination widget
|
||||||
self.updatePagination(data.num);
|
self.updatePagination(data.num);
|
||||||
|
}
|
||||||
|
|
||||||
if (self.loaded !== undefined) {
|
if (self.loaded !== undefined) {
|
||||||
self.loaded();
|
self.loaded();
|
||||||
|
|
Loading…
Reference in New Issue