diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-31 06:58:05 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-31 06:58:05 +0200 |
commit | 7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2 (patch) | |
tree | 251adbc1edef4b0f79349baf39ab1c6ce8ce0ab4 /toolkit/content/widgets | |
parent | 94980111da8fa3cbe24cc20186b239afd41450fa (diff) | |
download | UXP-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 'toolkit/content/widgets')
-rw-r--r-- | toolkit/content/widgets/datetimebox.xml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/toolkit/content/widgets/datetimebox.xml b/toolkit/content/widgets/datetimebox.xml index c45124ef7..3a011cac1 100644 --- a/toolkit/content/widgets/datetimebox.xml +++ b/toolkit/content/widgets/datetimebox.xml @@ -1076,9 +1076,6 @@ // includes padding area). this.mInputElement.addEventListener("click", this, { mozSystemGroup: true }); - // This is to close the picker when input element blurs. - this.mInputElement.addEventListener("blur", this, - { mozSystemGroup: true }); ]]> </constructor> @@ -1093,8 +1090,6 @@ }); this.mInputElement.removeEventListener("click", this, { mozSystemGroup: true }); - this.mInputElement.removeEventListener("blur", this, - { mozSystemGroup: true }); this.mInputElement = null; ]]> @@ -1350,10 +1345,6 @@ this.log("onBlur originalTarget: " + aEvent.originalTarget + " target: " + aEvent.target); - if (aEvent.target == this.mInputElement && this.mIsPickerOpen) { - this.mInputElement.closeDateTimePicker(); - } - let target = aEvent.originalTarget; target.setAttribute("typeBuffer", ""); this.setInputValueFromFields(); |