Bug 116441 [clickSelectsAll] should not trigger if click is after end of URL
patch by neil@parkwaycc.co.uk r=jag sr=bz git-svn-id: svn://10.0.0.236/trunk@134039 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
063c0f2291
commit
609fc3d185
@ -1732,7 +1732,7 @@ function URLBarMouseDownHandler(aEvent)
|
||||
|
||||
function URLBarClickHandler(aEvent)
|
||||
{
|
||||
if (!gIgnoreClick && gClickSelectsAll && gURLBar.selectionStart == gURLBar.selectionEnd)
|
||||
if (!gIgnoreClick && gClickSelectsAll && gURLBar.selectionStart == gURLBar.selectionEnd && gURLBar.selectionStart < gURLBar.value.length)
|
||||
gURLBar.select();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user