Bug 1160678 - Pocket door hangers arent automatically closed. r=dolske a=sledru
authorJared Wein <jwein@mozilla.com>
Wed, 06 May 2015 00:11:32 -0400
changeset 260422 53b766c68811
parent 260421 125c7dbe7528
child 260423 96da8302e8a2
push id776
push userjwein@mozilla.com
push date2015-05-07 17:59 +0000
treeherdermozilla-release@53b766c68811 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske, sledru
bugs1160678
milestone38.0
Bug 1160678 - Pocket door hangers arent automatically closed. r=dolske a=sledru
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);