mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked
This commit is contained in:
parent
758ef612dc
commit
1cbd27ae55
2 changed files with 4 additions and 11 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue