[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /homework functionplotresponse.pm
From:       www <www () source ! lon-capa ! org>
Date:       2011-01-28 16:06:49
Message-ID: cvswww1296230809 () cvsserver
[Download RAW message or body]

www		Fri Jan 28 16:06:49 2011 EDT

  Modified files:              
    /loncom/homework	functionplotresponse.pm 
  Log:
  Sanity check of rule boundaries
  
  
Index: loncom/homework/functionplotresponse.pm
diff -u loncom/homework/functionplotresponse.pm:1.52 \
                loncom/homework/functionplotresponse.pm:1.53
--- loncom/homework/functionplotresponse.pm:1.52	Wed Jan 26 20:20:50 2011
+++ loncom/homework/functionplotresponse.pm	Fri Jan 28 16:06:49 2011
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: functionplotresponse.pm,v 1.52 2011/01/26 20:20:50 www Exp $
+# $Id: functionplotresponse.pm,v 1.53 2011/01/28 16:06:49 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -536,6 +536,12 @@
                                      $token,'8').
              &Apache::edit::end_row();
   } elsif ($target eq 'modified') {
+    if (($env{'form.'.&Apache::edit::html_element_name('xinitial')} ne '') & \
($env{'form.'.&Apache::edit::html_element_name('xinitiallabel')} eq 'start')) { +     \
$env{'form.'.&Apache::edit::html_element_name('xinitiallabel')}=''; +    }
+    if (($env{'form.'.&Apache::edit::html_element_name('xfinal')} ne '') & \
($env{'form.'.&Apache::edit::html_element_name('xfinallabel')} eq 'end')) { +       \
$env{'form.'.&Apache::edit::html_element_name('xfinallabel')}=''; +    }
     my $constructtag=&Apache::edit::get_new_args($token,$parstack,
                                                  \
                $safeeval,'index','derivativeorder',
                                                            \
'xinitial','xinitiallabel','xfinal','xfinallabel',


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic