зеркало из https://github.com/mozilla/gecko-dev.git
fixed js errors
This commit is contained in:
Родитель
b0ab659e09
Коммит
c55bdc7553
|
@ -218,7 +218,7 @@ nsXULBrowserWindow.prototype =
|
||||||
onStatusChange : function(channel, status)
|
onStatusChange : function(channel, status)
|
||||||
{
|
{
|
||||||
if(!throbberElement)
|
if(!throbberElement)
|
||||||
throbberElement = document.getElementById("Throbber");
|
throbberElement = document.getElementById("navigator-throbber");
|
||||||
if(!statusMeter)
|
if(!statusMeter)
|
||||||
statusMeter = document.getElementById("statusbar-icon");
|
statusMeter = document.getElementById("statusbar-icon");
|
||||||
if(!stopButton)
|
if(!stopButton)
|
||||||
|
@ -376,7 +376,7 @@ function Shutdown()
|
||||||
|
|
||||||
function onLoadViaOpenDialog() {
|
function onLoadViaOpenDialog() {
|
||||||
// See if load in progress (loading default page).
|
// See if load in progress (loading default page).
|
||||||
if ( document.getElementById("Throbber").getAttribute("busy") == "true" ) {
|
if ( document.getElementById("navigator-throbber").getAttribute("busy") == "true" ) {
|
||||||
dump( "Stopping load of default initial page\n" );
|
dump( "Stopping load of default initial page\n" );
|
||||||
appCore.stop();
|
appCore.stop();
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче