Diff for /loncom/interface/lonhelp.pm between versions 1.42 and 1.43

version 1.42, 2013/12/18 01:23:21 version 1.43, 2013/12/30 00:23:40
Line 228  sub handler { Line 228  sub handler {
      if ($env{'form.searchterm'}=~/\w/) {       if ($env{'form.searchterm'}=~/\w/) {
         $caller = 'search';          $caller = 'search';
      }       }
      my $starthash = {  
            only_body   => 1,  
            add_entries => {  
                             'onload' => "javascript:expand_div('$caller');",  
                           },  
      };  
   
        my $starthash;
   
        if ($env{'browser.mobile'}) {
            $starthash = {
                           only_body   => 1,
                           add_entries => {
                                            'onload' => "javascript:expand_div('$caller');",
                                          },
                         };
        } else {
            $starthash = {
                           only_body   => 1,
                         };
        }
      my $firstfile;       my $firstfile;
      my $start_page=       my $start_page=
  &Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash);   &Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash);

Removed from v.1.42  
changed lines
  Added in v.1.43


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