Stop Reload, changing the command state via DOM setAttribute instead via element.property.

This commit is contained in:
mgalli%geckonnection.com 2006-01-04 22:59:08 +00:00
Родитель c446e641ae
Коммит 783513b15f
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -110,7 +110,7 @@ nsBrowserStatusHandler.prototype =
this.startDocumentLoad(aRequest);
}
this.stopreloadButton.className = "stop-button";
this.stopreloadButton.command = "cmd_BrowserStop";
this.stopreloadButton.setAttribute("command","cmd_BrowserStop");
return;
}
@ -123,7 +123,7 @@ nsBrowserStatusHandler.prototype =
document.styleSheets[1].cssRules[0].style.backgroundPosition="1000px 100%";
this.stopreloadButton.className = "reload-button";
this.stopreloadButton.command= "cmd_BrowserReload";
this.stopreloadButton.setAttribute("command","cmd_BrowserReload");
return;
}