--- loncom/interface/Attic/lonspreadsheet.pm 2003/03/03 22:00:03 1.173 +++ loncom/interface/Attic/lonspreadsheet.pm 2003/03/11 15:00:47 1.177 @@ -1,5 +1,5 @@ # -# $Id: lonspreadsheet.pm,v 1.173 2003/03/03 22:00:03 albertel Exp $ +# $Id: lonspreadsheet.pm,v 1.177 2003/03/11 15:00:47 albertel 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(<{'constants'}})) { if ($_=~/$varname/) { $values{$1}=1;