From b61f03d6110195b4a93cef89cd3bf855b4ae6b77 Mon Sep 17 00:00:00 2001 From: "mozilla%kewis.ch" Date: Mon, 2 Jul 2007 17:18:51 +0000 Subject: [PATCH] Fix bug 386336. Get rid of strict warnings. r=mickey --- .../base/content/calendar-multiday-view.xml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/calendar/base/content/calendar-multiday-view.xml b/calendar/base/content/calendar-multiday-view.xml index 4f01206d1a2..54cd145d846 100644 --- a/calendar/base/content/calendar-multiday-view.xml +++ b/calendar/base/content/calendar-multiday-view.xml @@ -1799,12 +1799,12 @@ var df = Cc["@mozilla.org/calendar/datetime-formatter;1"]. getService(Ci.calIDateTimeFormatter); - var short = document.getAnonymousElementByAttribute(this, "anonid", "shortWeekdayName"); - var long = document.getAnonymousElementByAttribute(this, "anonid", "longWeekdayName"); + var shortName = document.getAnonymousElementByAttribute(this, "anonid", "shortWeekdayName"); + var longName = document.getAnonymousElementByAttribute(this, "anonid", "longWeekdayName"); var day = document.getAnonymousElementByAttribute(this, "anonid", "dateName"); - long.setAttribute("value", calGetString("dateFormat","day." + (val.weekday + 1) + ".name")); - short.setAttribute("value", calGetString("dateFormat","day." + (val.weekday + 1) + ".Mmm")); + longName.setAttribute("value", calGetString("dateFormat","day." + (val.weekday + 1) + ".name")); + shortName.setAttribute("value", calGetString("dateFormat","day." + (val.weekday + 1) + ".Mmm")); day.setAttribute("value", df.formatDateWithoutYear(val)); return val; @@ -1816,35 +1816,35 @@ return document.getAnonymousElementByAttribute(this, "anonid", "shortWeekdayName").hasAttribute("hidden"); ]]> - +