From 63bcb79a8ca3ff7a439d8349a2a3e3dff0463f30 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Sat, 29 Sep 2007 07:25:09 +0000 Subject: [PATCH] Bug 397207 - "use "Open Web Location" dialog when location bar is read-only" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r=gavin a1.9=mconnor] git-svn-id: svn://10.0.0.236/trunk@236910 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/base/content/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/browser/base/content/browser.js b/mozilla/browser/base/content/browser.js index 5a707953133..63de19b9492 100644 --- a/mozilla/browser/base/content/browser.js +++ b/mozilla/browser/base/content/browser.js @@ -1566,7 +1566,7 @@ function loadOneOrMoreURIs(aURIString) function openLocation() { - if (gURLBar && isElementVisible(gURLBar)) { + if (gURLBar && isElementVisible(gURLBar) && !gURLBar.readOnly) { gURLBar.focus(); gURLBar.select(); return;