Bug 645694 - Tapping on Desktop tab triggers no action [r=mbrubeck]
authorVivien Nicolas <21@vingtetun.org>
Tue, 29 Mar 2011 16:41:38 +0200
changeset 67547 aa6cf17c25db149874b7508c88a0e5b3d157bf9e
parent 67546 cb0925ae3475ec1e4c0a8d148a92790e932ea778
child 67548 cb79ce5a4e75d6943b30063e77ce8350b1e34ff1
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs645694
Bug 645694 - Tapping on Desktop tab triggers no action [r=mbrubeck]
mobile/chrome/content/bindings.xml
--- a/mobile/chrome/content/bindings.xml
+++ b/mobile/chrome/content/bindings.xml
@@ -1379,17 +1379,17 @@
           // Don't do anything if the tabs engine isn't ready
           let engine = Weave.Engines.get("tabs");
           if (!engine)
             return [];
 
           // Don't bother refetching tabs if we already did so recently
           let lastFetch = Weave.Svc.Prefs.get("lastTabFetch", 0);
           let now = Math.floor(Date.now() / 1000);
-          if (now - lastFetch >= Services.prefs.getIntPref("browser.display.remotabs.timeout")) {
+          if (now - lastFetch >= Services.prefs.getIntPref("browser.display.remotetabs.timeout")) {
             // Force a sync only for the tabs engine
             engine.lastModified = null;
             engine.sync();
             Weave.Svc.Prefs.set("lastTabFetch", now);
           };
 
           // Generate the list of tabs
           let tabs = [];