Bug 1334038 - datetime pickers should close on tab switch draft
authorScott Wu <scottcwwu@gmail.com>
Thu, 26 Jan 2017 17:19:33 +0800
changeset 466699 4e66971a207dd7578d5d8a8e9a85110bc81360e8
parent 466606 fbdfcecf0c774d2221f11aed5a504d5591c774e0
child 543484 e4cc45362da17c6952b0c41bc288bb87839cde29
push id42962
push userbmo:scwwu@mozilla.com
push dateThu, 26 Jan 2017 09:21:17 +0000
bugs1334038
milestone54.0a1
Bug 1334038 - datetime pickers should close on tab switch MozReview-Commit-ID: AATRfAp3qPm
browser/base/content/browser.xul
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -161,17 +161,18 @@
            overflowpadding="30" />
 
     <panel id="DateTimePickerPanel"
            type="arrow"
            hidden="true"
            orient="vertical"
            noautofocus="true"
            consumeoutsideclicks="false"
-           level="parent">
+           level="parent"
+           tabspecific="true">
       <iframe id="dateTimePopupFrame"/>
     </panel>
 
     <!-- for select dropdowns. The menupopup is what shows the list of options,
          and the popuponly menulist makes things like the menuactive attributes
          work correctly on the menupopup. ContentSelectDropdown expects the
          popuponly menulist to be its immediate parent. -->
     <menulist popuponly="true" id="ContentSelectDropdown" hidden="true">