bug 366141 - Fixes javascript strict warnings. Patch by Stefan Sitter <ssitter@googlemail.com> r1/r2=jminta

git-svn-id: svn://10.0.0.236/trunk@217899 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mattwillis%gmail.com
2007-01-06 18:32:56 +00:00
parent e40c197bd3
commit 9975ced957
2 changed files with 3 additions and 1 deletions

View File

@@ -662,6 +662,7 @@ var gDataMigrator = {
},
getThunderbirdProfile: function gdm_getTB() {
var localFile;
var profileRoot = this.dirService.get("DefProfRt", Ci.nsILocalFile);
LOG("profileRoot = " + profileRoot.path);
if (this.mIsLightning) {
@@ -689,6 +690,7 @@ var gDataMigrator = {
},
getNormalProfile: function gdm_getNorm(aAppName) {
var localFile;
var profileRoot = this.dirService.get("DefProfRt", Ci.nsILocalFile);
LOG("profileRoot = " + profileRoot.path);

View File

@@ -38,7 +38,7 @@
function getListItem(aCalendar) {
var calendarList = document.getElementById("list-calendars-listbox");
for (item = calendarList.firstChild;
for (var item = calendarList.firstChild;
item;
item = item.nextSibling) {
if (item.calendar && item.calendar.uri.equals(aCalendar.uri)) {