Redirect to the backpack when the page was loaded - refs BT#9082

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent 5f9b2051a5
commit a8a23b4c17
  1. 4
      main/gradebook/get_badges.php

@ -42,7 +42,9 @@ $tpl = new Template(get_lang('Badges'), false, false);
$tpl->assign(
'content',
"<script>OpenBadges.issue_no_modal(" . json_encode($assertions) . ");</script>"
"<script>"
. "$(document).on('ready', function (){ OpenBadges.issue_no_modal(" . json_encode($assertions) . "); });"
. "</script>"
);
$tpl->display_one_col_template();

Loading…
Cancel
Save