mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
bugzilla 98415 sr=mscott r=andreww colorpicker problems. Patch from Brad Tiffany <btiffany@usermail.com>
This commit is contained in:
parent
06c0794672
commit
6ae91ba6fc
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user