Bug 332270 js-strict warning fixes, r=mvl
git-svn-id: svn://10.0.0.236/trunk@193348 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
604bef08a9
commit
5ab6bc391c
@ -58,8 +58,8 @@
|
||||
["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch2);
|
||||
// Set the preference for the default start of the week
|
||||
viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
var viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
try {
|
||||
viewElem.weekStartOffset = pb2.getIntPref("calendar.week.start");
|
||||
} catch (ex) {}
|
||||
@ -237,8 +237,8 @@
|
||||
daysOff.push(Number(i));
|
||||
}
|
||||
}
|
||||
viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
var viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
|
||||
viewElem.daysOffArray = daysOff;
|
||||
} catch (ex) {}
|
||||
|
||||
@ -59,8 +59,8 @@
|
||||
["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch2);
|
||||
// Set the preference for the default start of the week
|
||||
viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
var viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
try {
|
||||
viewElem.weekStartOffset = pb2.getIntPref("calendar.week.start");
|
||||
} catch (ex) {}
|
||||
@ -268,8 +268,8 @@
|
||||
daysOff.push(Number(i));
|
||||
}
|
||||
}
|
||||
viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
var viewElem = document.getAnonymousElementByAttribute(
|
||||
this, "anonid", "view-element");
|
||||
viewElem.daysOffArray = daysOff;
|
||||
} catch (ex) {}
|
||||
]]></body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user