--- loncom/auth/lonroles.pm 2022/02/24 16:28:46 1.269.2.39.2.3 +++ loncom/auth/lonroles.pm 2022/05/29 12:46:35 1.269.2.39.2.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.269.2.39.2.3 2022/02/24 16:28:46 raeburn Exp $ +# $Id: lonroles.pm,v 1.269.2.39.2.4 2022/05/29 12:46:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -905,6 +905,9 @@ ENDCLOSE &Apache::loncommon::end_page()); } } else { + if ($env{'request.deeplink.login'}) { + &set_deeplink_target($cnum,$cdom); + } $msg = '
'.&mt('Entering [_1] ...', $env{'course.'.$cdom.'_'.$cnum.'.description'}). '
'; @@ -932,6 +935,9 @@ ENDCLOSE &Apache::loncommon::end_page()); } } else { + if ($env{'request.deeplink.login'}) { + &set_deeplink_target($cnum,$cdom); + } # Check to see if the user is a CC entering a course # for the first time if ((($role eq 'cc') || ($role eq 'co')) @@ -3383,6 +3389,34 @@ sub get_queued { $output.'