[LON-CAPA-cvs] cvs: rat / lonratedt.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 13 Nov 2004 21:17:55 -0000


albertel		Sat Nov 13 16:17:55 2004 EDT

  Modified files:              
    /rat	lonratedt.pm 
  Log:
  - need more that <body> when simple edit Rat runs in remoteless CSTR mode
  
  
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.60 rat/lonratedt.pm:1.61
--- rat/lonratedt.pm:1.60	Thu Sep  2 09:21:53 2004
+++ rat/lonratedt.pm	Sat Nov 13 16:17:55 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Edit Handler for RAT Maps
 #
-# $Id: lonratedt.pm,v 1.60 2004/09/02 13:21:53 www Exp $
+# $Id: lonratedt.pm,v 1.61 2004/11/13 21:17:55 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -977,7 +977,8 @@
 
 # ----------------------------------------------------- Start simple RAT screen
    my $editscript=&editscript('simple');
-   my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef,1).
+   my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef,
+					($ENV{'environment.remote'} ne 'off')).
        &Apache::loncommon::help_open_menu('','Sequence_Simple_Editor_Creation','Sequence_Simple_Editor_Creation','',6,'RAT');
    my %lt=&Apache::lonlocal::texthash(
 				      'sa' => 'Save',