diff --git a/calendar/base/content/calendar-alarm-dialog.js b/calendar/base/content/calendar-alarm-dialog.js index bef95d7eb747..3178a07e591f 100644 --- a/calendar/base/content/calendar-alarm-dialog.js +++ b/calendar/base/content/calendar-alarm-dialog.js @@ -41,6 +41,7 @@ function addAlarm(event) var alarmWidget = document.createElement("calendar-alarm-widget"); alarmWidget.setAttribute("title", event.title); alarmWidget.setAttribute("time", event.alarmTime.toString()); + alarmWidget.setAttribute("location", event.getProperty("LOCATION")); alarmWidget.addEventListener("snooze", onSnoozeAlarm, false); alarmWidget.addEventListener("dismiss", onDismissAlarm, false); alarmWidget.item = event; diff --git a/calendar/base/content/calendar-alarm-widget.xml b/calendar/base/content/calendar-alarm-widget.xml index decaa403f1d2..73317b5516e5 100644 --- a/calendar/base/content/calendar-alarm-widget.xml +++ b/calendar/base/content/calendar-alarm-widget.xml @@ -54,6 +54,7 @@ +