Use var to avoid using window.title as a temporary and triggering assertions.

This commit is contained in:
shaver%mozilla.org 2004-12-14 00:36:18 +00:00
Родитель a9c26b6f51
Коммит 03e9917344
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -130,7 +130,7 @@ function loadCalendarEventDialog()
var titleDataItem = null;
if ("new" == args.mode)
title = document.getElementById("data-event-title-new").getAttribute("value");
var title = document.getElementById("data-event-title-new").getAttribute("value");
else {
title = document.getElementById("data-event-title-edit").getAttribute("value");
}