Diff for /loncom/interface/lonparmset.pm between versions 1.550 and 1.551

version 1.550, 2015/04/28 13:34:12 version 1.551, 2015/05/10 01:02:35
Line 1076  sub ipacc_boxes_js  { Line 1076  sub ipacc_boxes_js  {
         e.preventDefault();          e.preventDefault();
         var identifier = \$(this).closest("div").attr("id");          var identifier = \$(this).closest("div").attr("id");
         identifier = identifier.replace(ipaccRegExp,'');          identifier = identifier.replace(ipaccRegExp,'');
         \$(this).closest('div').find('.LC_string_ipacc_inner').append('<div><input type="text" name="setip'+identifier+'"/><a href="#" class="LC_remove_ipacc">$remove</a></div>');          \$(this).closest('div').find('.LC_string_ipacc_inner').append('<div><input type="text" name="setip'+identifier+'" /><a href="#" class="LC_remove_ipacc">$remove</a></div>');
     });      });
   
     \$(wrapper).delegate(".LC_remove_ipacc","click", function(e){      \$(wrapper).delegate(".LC_remove_ipacc","click", function(e){
Line 3420  sub string_ip_selector { Line 3420  sub string_ip_selector {
   <div class="LC_string_ipacc_inner">'."\n";    <div class="LC_string_ipacc_inner">'."\n";
         my $num = 0;          my $num = 0;
         foreach my $curr (@{$access{$acctype}}) {          foreach my $curr (@{$access{$acctype}}) {
             $output .= '<div><input type="text" name="setip'.$acctype.'_'.$thiskey.'" value="'.$curr.'">';              $output .= '<div><input type="text" name="setip'.$acctype.'_'.$thiskey.'" value="'.$curr.'" />';
             if ($num > 0) {              if ($num > 0) {
                 $output .= '<a href="#" class="LC_remove_ipacc">'.&mt('Remove').'</a>';                   $output .= '<a href="#" class="LC_remove_ipacc">'.&mt('Remove').'</a>'; 
             }              }

Removed from v.1.550  
changed lines
  Added in v.1.551


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>