[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Sun May 26 18:00:25 EDT 2013
raeburn Sun May 26 22:00:25 2013 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Retrieve inhibitmenu form element before using it a condition.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1130 loncom/interface/loncommon.pm:1.1131
--- loncom/interface/loncommon.pm:1.1130 Sat May 25 21:56:23 2013
+++ loncom/interface/loncommon.pm Sun May 26 22:00:24 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1130 2013/05/25 21:56:23 raeburn Exp $
+# $Id: loncommon.pm,v 1.1131 2013/05/26 22:00:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5155,6 +5155,8 @@
my $bodytag = "<body $extra_body_attr>".
&Apache::lontexconvert::init_math_support($args->{'inherit_jsmath'});
+ &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']);
+
if (($bodyonly) || ($no_nav_bar) || ($env{'form.inhibitmenu'} eq 'yes')) {
return $bodytag;
}
@@ -5176,7 +5178,6 @@
}
$role = '<span class="LC_nobreak">('.$role.')</span>' if $role;
- &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']);
if ($env{'request.state'} eq 'construct') { $forcereg=1; }
More information about the LON-CAPA-cvs
mailing list