Bug 240111 - Refocus input box after clicking a link.

r=samuel
a=asa
p=gijskruitbosch@gmail.com (Gijs "Hannibal" Kruitbosch)
This commit is contained in:
silver%warwickcompsoc.co.uk 2005-04-21 18:14:19 +00:00
Родитель 10831be659
Коммит dee0ae3435
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1929,6 +1929,7 @@ function cmdGotoURL(e)
if (e.command.name == "goto-url-newwin")
{
openTopWin(e.url);
dispatch("focus-input");
return;
}
@ -1937,6 +1938,7 @@ function cmdGotoURL(e)
if (!window)
{
openTopWin(e.url);
dispatch("focus-input");
return;
}
@ -1949,6 +1951,7 @@ function cmdGotoURL(e)
} else {
window.openNewTabWith(e.url, null, null, null, null, false);
}
dispatch("focus-input");
return;
}
@ -1957,10 +1960,12 @@ function cmdGotoURL(e)
{
// don't replace chatzilla running in a tab
openTopWin(e.url);
dispatch("focus-input");
return;
}
location.href = e.url;
dispatch("focus-input");
}
function cmdCTCP(e)

Просмотреть файл

@ -39,7 +39,7 @@
*
* ***** END LICENSE BLOCK ***** */
const __cz_version = "0.9.67";
const __cz_version = "0.9.67+";
const __cz_condition = "green";
const __cz_suffix = "";
const __cz_guid = "59c81df5-4b7a-477b-912d-4e0fdf64e5f2";