--- loncom/interface/lonhtmlcommon.pm 2017/03/08 02:51:08 1.383
+++ loncom/interface/lonhtmlcommon.pm 2017/05/07 13:57:58 1.385
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.383 2017/03/08 02:51:08 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.385 2017/05/07 13:57:58 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1727,7 +1727,7 @@ sub show_return_link {
(($env{'request.noversionuri'}=~/^\/adm\//) &&
($env{'request.noversionuri'}!~/^\/adm\/wrapper\//) &&
($env{'request.noversionuri'}!~
- m{^/adm/.*/(smppg|bulletinboard|exttools?)($|\?)})
+ m{^/adm/.*/(smppg|bulletinboard|exttool)($|\?)})
));
}
@@ -3477,7 +3477,8 @@ function go(url) {
if (url!='' && url!= null) {
currentURL = null;
currentSymb= null;
- window.location.href=url;
+ var lcHostname = setLCHost();
+ window.location.href=lcHostname+url;
}
}