mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 117823. Javascript strict warnings in am-offline.js. Patch by Stephen Walker <walk84@yahoo.com> r=stephend@netscape.com/racham@netscape.com, sr=shaver@mozilla.org
This commit is contained in:
parent
2578782188
commit
f57c70f024
@ -245,7 +245,7 @@ function disableIfLocked( prefstrArray )
|
||||
if (!gLockedPref)
|
||||
gLockedPref = new Array;
|
||||
|
||||
for (i=0; i<prefstrArray.length; i++) {
|
||||
for (var i=0; i<prefstrArray.length; i++) {
|
||||
var id = prefstrArray[i].id;
|
||||
var element = document.getElementById(id);
|
||||
if (gPref.prefIsLocked(prefstrArray[i].prefstring)) {
|
||||
|
Loading…
Reference in New Issue
Block a user