From 6f89842b765c92a1ff4c1d2cc8335dcc86eebf2e Mon Sep 17 00:00:00 2001 From: Wes Johnston Date: Fri, 6 Sep 2013 15:29:04 -0700 Subject: [PATCH] Bug 878418 - Move positioning of Open with context menu item. r=mfinkle --- mobile/android/chrome/content/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 7eaab9052b5..83f05ec2dc6 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -334,7 +334,6 @@ var BrowserApp = { Reader.init(); UserAgentOverrides.init(); DesktopUserAgent.init(); - ExternalApps.init(); Distribution.init(); Tabs.init(); #ifdef ACCESSIBILITY @@ -368,6 +367,9 @@ var BrowserApp = { SearchEngines.init(); this.initContextMenu(); } + // The order that context menu items are added is important + // Make sure the "Open in App" context menu item appears at the bottom of the list + ExternalApps.init(); // XXX maybe we don't do this if the launch was kicked off from external Services.io.offline = false;