summaryrefslogtreecommitdiffstats
path: root/browser/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-31 06:58:05 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-31 06:58:05 +0200
commit7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2 (patch)
tree251adbc1edef4b0f79349baf39ab1c6ce8ce0ab4 /browser/base
parent94980111da8fa3cbe24cc20186b239afd41450fa (diff)
downloadUXP-7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2.tar
UXP-7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2.tar.gz
UXP-7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2.tar.lz
UXP-7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2.tar.xz
UXP-7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2.zip
Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked
Diffstat (limited to 'browser/base')
-rw-r--r--browser/base/content/browser.xul6
1 files changed, 4 insertions, 2 deletions
diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
index 62c2b122f..5879f2a29 100644
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -155,13 +155,15 @@
level="parent"
overflowpadding="30" />
+ <!-- for date/time picker. consumeoutsideclicks is set to never, so that
+ clicks on the anchored input box are never consumed. -->
<panel id="DateTimePickerPanel"
type="arrow"
hidden="true"
orient="vertical"
noautofocus="true"
- noautohide="true"
- consumeoutsideclicks="false"
+ norolluponanchor="true"
+ consumeoutsideclicks="never"
level="parent"
tabspecific="true">
<iframe id="dateTimePopupFrame"/>