Bug 1160678 - Pocket door hangers arent automatically closed. r=dolske
authorJared Wein <jwein@mozilla.com>
Wed, 06 May 2015 00:11:32 -0400
changeset 273819 799f4c06bbc82acdac939d0f17c5a38890d9e393
parent 273818 cd4f4ecd3ae79bf0053185862231cefcb3f1d788
child 273820 31c33dc5c4dd0e6170b474db98ab4d4eda117f47
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske
bugs1160678
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1160678 - Pocket door hangers arent automatically closed. r=dolske
browser/components/pocket/panels/js/saved.js
--- a/browser/components/pocket/panels/js/saved.js
+++ b/browser/components/pocket/panels/js/saved.js
@@ -100,29 +100,29 @@ var PKT_SAVED_OVERLAY = function (option
             myself.startCloseTimer();
         });
         this.wrapper.on('click',function(e) {
             myself.closeValid = false;
         });
     };
     this.startCloseTimer = function(manualtime) 
     {
-        /*var settime = manualtime ? manualtime : myself.autocloseTiming;
+        var settime = manualtime ? manualtime : myself.autocloseTiming;
         if (typeof myself.autocloseTimer == 'number') 
         {
             clearTimeout(myself.autocloseTimer);
         }
         myself.autocloseTimer = setTimeout(function() 
         {
             if (myself.closeValid || myself.preventCloseTimerCancel) 
             {
                 myself.preventCloseTimerCancel = false;
                 myself.closePopup();
             }
-        }, settime);*/
+        }, settime);
     };
     this.stopCloseTimer = function() 
     {
         if (myself.preventCloseTimerCancel) 
         {
             return;
         }
         clearTimeout(myself.autocloseTimer);