Permalink
Browse files

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

… MOODLE_35_STABLE
  • Loading branch information...
dmonllao committed Aug 13, 2018
2 parents 094730c + 76f2ed9 commit e87bbfbe94697e8c9661802ec91a44f9b09d918c

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 e87bbfb

Please sign in to comment.