mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Fixed throbber id, bug 17271. r=german
This commit is contained in:
parent
3786b0c603
commit
4a72e1465c
@ -336,7 +336,7 @@ function UpdateBookmarksLastVisitedDate(event)
|
||||
// See if Startup has been run.
|
||||
if ( appCore ) {
|
||||
// See if load in progress (loading default page).
|
||||
if ( document.getElementById("broadcaster_throbber").getAttribute("busy") == "true" ) {
|
||||
if ( document.getElementById("Browser:Throbber").getAttribute("busy") == "true" ) {
|
||||
dump( "Stopping load of default initial page\n" );
|
||||
appCore.stop();
|
||||
}
|
||||
@ -352,7 +352,7 @@ function UpdateBookmarksLastVisitedDate(event)
|
||||
|
||||
function onLoadViaOpenDialog() {
|
||||
// See if load in progress (loading default page).
|
||||
if ( document.getElementById("broadcaster_throbber").getAttribute("busy") == "true" ) {
|
||||
if ( document.getElementById("Browser:Throbber").getAttribute("busy") == "true" ) {
|
||||
dump( "Stopping load of default initial page\n" );
|
||||
appCore.stop();
|
||||
}
|
||||
@ -1004,7 +1004,7 @@ function OpenSearch(tabName, searchStr)
|
||||
|
||||
var startTime = 0;
|
||||
function onProgress() {
|
||||
var throbber = document.getElementById("broadcaster_throbber");
|
||||
var throbber = document.getElementById("Browser:Throbber");
|
||||
var meter = document.getElementById("Browser:LoadingProgress");
|
||||
if ( throbber && meter ) {
|
||||
var busy = throbber.getAttribute("busy");
|
||||
|
@ -336,7 +336,7 @@ function UpdateBookmarksLastVisitedDate(event)
|
||||
// See if Startup has been run.
|
||||
if ( appCore ) {
|
||||
// See if load in progress (loading default page).
|
||||
if ( document.getElementById("broadcaster_throbber").getAttribute("busy") == "true" ) {
|
||||
if ( document.getElementById("Browser:Throbber").getAttribute("busy") == "true" ) {
|
||||
dump( "Stopping load of default initial page\n" );
|
||||
appCore.stop();
|
||||
}
|
||||
@ -352,7 +352,7 @@ function UpdateBookmarksLastVisitedDate(event)
|
||||
|
||||
function onLoadViaOpenDialog() {
|
||||
// See if load in progress (loading default page).
|
||||
if ( document.getElementById("broadcaster_throbber").getAttribute("busy") == "true" ) {
|
||||
if ( document.getElementById("Browser:Throbber").getAttribute("busy") == "true" ) {
|
||||
dump( "Stopping load of default initial page\n" );
|
||||
appCore.stop();
|
||||
}
|
||||
@ -1004,7 +1004,7 @@ function OpenSearch(tabName, searchStr)
|
||||
|
||||
var startTime = 0;
|
||||
function onProgress() {
|
||||
var throbber = document.getElementById("broadcaster_throbber");
|
||||
var throbber = document.getElementById("Browser:Throbber");
|
||||
var meter = document.getElementById("Browser:LoadingProgress");
|
||||
if ( throbber && meter ) {
|
||||
var busy = throbber.getAttribute("busy");
|
||||
|
Loading…
x
Reference in New Issue
Block a user