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
This commit is contained in:
reed%reedloden.com
2007-09-29 07:25:09 +00:00
parent d5b93d46f6
commit 63bcb79a8c

View File

@@ -1566,7 +1566,7 @@ function loadOneOrMoreURIs(aURIString)
function openLocation()
{
if (gURLBar && isElementVisible(gURLBar)) {
if (gURLBar && isElementVisible(gURLBar) && !gURLBar.readOnly) {
gURLBar.focus();
gURLBar.select();
return;