diff options
Diffstat (limited to 'toolkit')
-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(); |