Permalink
Browse files

Merge branch 'MDL-59015-34' of git://github.com/mihailges/moodle into…

… MOODLE_34_STABLE
  • Loading branch information...
dmonllao committed Aug 13, 2018
2 parents 6a96c6d + 59e3d34 commit 3d5d4ad291ec1f95f0da073b6c32c7618712167e

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -101,6 +101,8 @@ define(['jquery', 'core/notification', 'core/templates',
if (!hasLoadedAll(root)) {
// Only enable the button if we've got more events to load.
viewMoreButton.prop('disabled', false);
} else {
viewMoreButton.addClass('hidden');
}
};
@@ -86,7 +86,7 @@
// If there was only one hidden block then we have no more to show now
// so we can disable the button.
if (blocks && blocks.length == 1) {
button.prop('disabled', true);
button.addClass('hidden');
}
if (data) {

0 comments on commit 3d5d4ad

Please sign in to comment.