summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/DateTimePickerHelper.jsm
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-14 13:24:40 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-14 13:24:40 +0100
commit260e399a1ff7756cda9b6320a801f1198b27604a (patch)
tree6d50bf4abf17fd87aa059115035c107098e7ff2c /toolkit/modules/DateTimePickerHelper.jsm
parent8fd370c9f39b4bc1d78cc0f763bf4e99dfd0c382 (diff)
downloadUXP-260e399a1ff7756cda9b6320a801f1198b27604a.tar
UXP-260e399a1ff7756cda9b6320a801f1198b27604a.tar.gz
UXP-260e399a1ff7756cda9b6320a801f1198b27604a.tar.lz
UXP-260e399a1ff7756cda9b6320a801f1198b27604a.tar.xz
UXP-260e399a1ff7756cda9b6320a801f1198b27604a.zip
Bug 1323109: [DateTimePicker] Date time picker popup does not open near input box
Diffstat (limited to 'toolkit/modules/DateTimePickerHelper.jsm')
-rw-r--r--toolkit/modules/DateTimePickerHelper.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/modules/DateTimePickerHelper.jsm b/toolkit/modules/DateTimePickerHelper.jsm
index 398687988..8ad5204f4 100644
--- a/toolkit/modules/DateTimePickerHelper.jsm
+++ b/toolkit/modules/DateTimePickerHelper.jsm
@@ -141,7 +141,7 @@ this.DateTimePickerHelper = {
this.picker.loadPicker(type, detail);
// The arrow panel needs an anchor to work. The popupAnchor (this._anchor)
// is a transparent div that the arrow can point to.
- this.picker.openPopup(this._anchor, "after_start", rect.left, rect.top);
+ this.picker.openPopup(this._anchor, "after_start", 0, 0);
this.addPickerListeners();
},