[Zope-Checkins] CVS: Zope/lib/python/HelpSys - HelpSys.py:1.22.72.1
Shane Hathaway
shane@cvs.zope.org
Mon, 10 Jun 2002 14:37:36 -0400
Update of /cvs-repository/Zope/lib/python/HelpSys
In directory cvs.zope.org:/tmp/cvs-serv23246/lib/python/HelpSys
Modified Files:
Tag: shane-activity-monitoring-branch
HelpSys.py
Log Message:
Mozilla does not allow access to window.focus(), so an
exception is raised and the help window is displayed in *both* the main
window and the popup. Better to not try to change the focus for now.
=== Zope/lib/python/HelpSys/HelpSys.py 1.22 => 1.22.72.1 ===
script='window.open(\'%s\',\'zope_help\',\'width=600,' \
'height=500,menubar=yes,toolbar=yes,scrollbars=yes,' \
- 'resizable=yes\').focus(); return false;' % help_url
+ 'resizable=yes\'); return false;' % help_url
h_link='<a href="%s" onClick="%s" onMouseOver="window.status=' \
'\'Open online help\'; return true;" onMouseOut="' \