@ -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();