--- loncom/interface/Attic/lonspreadsheet.pm 2003/03/07 23:32:05 1.175 +++ loncom/interface/Attic/lonspreadsheet.pm 2003/03/10 20:21:45 1.176 @@ -1,5 +1,5 @@ # -# $Id: lonspreadsheet.pm,v 1.175 2003/03/07 23:32:05 albertel Exp $ +# $Id: lonspreadsheet.pm,v 1.176 2003/03/10 20:21:45 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -183,10 +183,7 @@ sub handler { # Header.... # $r->print('LON-CAPA Spreadsheet'); - my $nothing = "''"; - if ($ENV{'browser.type'} eq 'explorer') { - $nothing = "'javascript:void(0);'"; - } + my $nothing = &Apache::lonhtmlcommon::javascript_nothing(); if ($ENV{'request.role'} !~ /^st\./) { $r->print(<