Changeset 12899


Ignore:
Timestamp:
2006-09-28T15:14:33+12:00 (18 years ago)
Author:
mdewsnip
Message:

Fixed up the search institutions by state page javascript.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cic-hcap/perllib/plugins/CICPlug.pm

    r12861 r12899  
    12751275    my $id = $full_name_to_id_mapping{$full_names[$i]};
    12761276    my $name = $id_to_name_mapping->{$id};
    1277     # $name =~ s/'/'/g;  # ' # (for Emacs)
    12781277    my $extra = $id_to_extra_mapping->{$id} || "";
    12791278    print BROWSER_MACROFILE "<td valign=\"top\"><a href=\"_gwcgi_?a=d&amp;d=$id\">" . &html_safe($name) . "</a>$extra</td>";
     
    12831282        $id = $full_name_to_id_mapping{$full_names[$i+$half_point]};
    12841283        $name = $id_to_name_mapping->{$id};
    1285         # $name =~ s/'/&apos;/g;  # ' # (for Emacs)
    12861284        $extra = $id_to_extra_mapping->{$id} || "";
    12871285        print BROWSER_MACROFILE "<a href=\"_gwcgi_?a=d&amp;d=$id\">" . &html_safe($name) . "</a>$extra";
     
    13241322    my $text = shift(@_);
    13251323    $text =~ s/&/&amp;/g;
     1324    $text =~ s/\'/&\#39;/g;  # Apostrophes mess up Javascript on the Search by State page
    13261325    return $text;
    13271326}
Note: See TracChangeset for help on using the changeset viewer.