bugzilla 98415 sr=mscott r=andreww colorpicker problems. Patch from Brad Tiffany <btiffany@usermail.com>

git-svn-id: svn://10.0.0.236/trunk@109971 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
andreww%netscape.com 2001-12-07 05:10:07 +00:00
parent b30b28256d
commit 33ac70ba1f

View File

@ -541,6 +541,7 @@
<handler event="keydown"><![CDATA[
// open popup if key is space/up/left/right/down and popup is closed
if ( (event.keyCode == 32 || (event.keyCode > 36 && event.keyCode < 41)) && !this.mOpen)
this.openPopup();
]]></handler>
@ -549,6 +550,7 @@
// popup="_child" mechanism, I can't use that because I can't seem to
// get it to recognize the popupalign and popupanchor attributes that way
// So, I have to do it manually...
this.focus();
this.openPopup();
]]></handler>
</handlers>