Merge pull request #1669 from miky96es/feature-button-goback

New feature, button changed , the button goes to last page and not to…
pull/2487/head
Julio Montoya 9 years ago committed by GitHub
commit f6bbd240a4
  1. 2
      main/inc/lib/api.lib.php

@ -3200,7 +3200,7 @@ function api_not_allowed($print_headers = false, $message = null)
$msg = $message;
} else {
$msg = Display::return_message(
get_lang('NotAllowedClickBack').'<br/><br/><a href="'.$home_url.'">'.get_lang('ReturnToCourseHomepage').'</a>',
get_lang('NotAllowedClickBack').'<br/><br/><button onclick="goBack();">'.get_lang('GoBack').'</button><script>function goBack(){window.history.back();}</script>',
'error',
false
);

Loading…
Cancel
Save