Bug 313477 Fix for Javascript Strict Warning in aboutDialog.js. patch by ssitter.mz@web.de, r=jminta
git-svn-id: svn://10.0.0.236/trunk@182815 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
var gSelectedPage = 0;
|
||||
|
||||
function init(aEvent)
|
||||
{
|
||||
if (aEvent.target != document)
|
||||
@@ -44,7 +46,6 @@ function init(aEvent)
|
||||
|
||||
var button = document.documentElement.getButton("extra2");
|
||||
button.setAttribute("label", document.documentElement.getAttribute("creditslabel"));
|
||||
gSelectedPage = 0;
|
||||
button.addEventListener("command", switchPage, false);
|
||||
|
||||
document.documentElement.getButton("accept").focus();
|
||||
|
||||
Reference in New Issue
Block a user