[Bio] / FigKernelPackages / FIGjs.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/FIGjs.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12, Mon Dec 5 19:06:30 2005 UTC revision 1.13, Thu Jan 26 20:12:39 2006 UTC
# Line 83  Line 83 
83    
84      defined( $title ) or $title = '';      defined( $title ) or $title = '';
85      $title =~ s/'/\\'/g;    # escape '      $title =~ s/'/\\'/g;    # escape '
86      $title =~ s/"/"/g; #"      $title =~ s/"/"/g; # escape "
87    
88        #  Fixed incorrect quoting of $text (reversed single and double quote)
89        #  -- GJO
90    
91      defined( $text ) or $text = '';      defined( $text ) or $text = '';
92      $text =~ s/"/"/g; #"      $text =~ s/'/\\'/g;    # escape '
93      $text =~ s/'/"/g; #'      $text =~ s/"/"/g; # escape "
94    
95      defined( $menu ) or $menu = '';      defined( $menu ) or $menu = '';
96      $menu =~ s/'/\\'/g;    #'      $menu =~ s/'/\\'/g;    # escape '
97      $menu =~ s/"/"/g; #"      $menu =~ s/"/"/g; # escape "
98    
99      qq( onMouseover="javascript:if(!this.tooltip) this.tooltip=new Popup_Tooltip(this,'$title','$text','$menu','$parent','$hc','$bc');this.tooltip.addHandler(); return false;" );      qq( onMouseover="javascript:if(!this.tooltip) this.tooltip=new Popup_Tooltip(this,'$title','$text','$menu','$parent','$hc','$bc');this.tooltip.addHandler(); return false;" );
100  }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3