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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user