[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm

www www at source.lon-capa.org
Sun Dec 11 22:04:31 EST 2011


www		Mon Dec 12 03:04:31 2011 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  Can stay modal if not modal itself ...
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.311 loncom/interface/lonfeedback.pm:1.312
--- loncom/interface/lonfeedback.pm:1.311	Mon Dec 12 02:46:12 2011
+++ loncom/interface/lonfeedback.pm	Mon Dec 12 03:04:30 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.311 2011/12/12 02:46:12 www Exp $
+# $Id: lonfeedback.pm,v 1.312 2011/12/12 03:04:30 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1654,7 +1654,7 @@
       $comment = &unescape($env{'form.comment'});
       &process_attachments(\@currnewattach,\@currdelold,\@keepold);
   }
-  my $latexHelp=&Apache::loncommon::helpLatexCheatsheet(undef,undef,1,'popup');
+  my $latexHelp=&Apache::loncommon::helpLatexCheatsheet(undef,undef,1,($env{'form.modal'}?'popup':0));
   my $send=&mt('Send');
   my $alert = &mt('Please select a feedback type.');
   my $js= <<END;




More information about the LON-CAPA-cvs mailing list