Fixing bug 137513 for mouse wheel scrolling, and also fixing display time for alarms in alarm dialog (problme with repeating events.)

This commit is contained in:
mikep%oeone.com 2002-07-12 19:39:37 +00:00
Родитель 290f7f1a46
Коммит f106921628
6 изменённых файлов: 7 добавлений и 5 удалений

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

@ -78,7 +78,7 @@ h1 {
<td id="mozver">
<h1>
<a id="mozlink" href="http://www.mozilla.org/projects/calendar/" target="_new">Mozilla Calendar 2002070410-cal</a>
<a id="mozlink" href="http://www.mozilla.org/projects/calendar/" target="_new">Mozilla Calendar 2002071110-cal</a>
</h1>
<script type="application/x-javascript">
// using try..catch to handle empty useragents and other cases where the regex fails to apply

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

@ -146,7 +146,7 @@ function createAlarmBox( Event )
var EventDescription = document.createTextNode( Event.description );
OuterBox.getElementsByAttribute( "name", "Description" )[0].appendChild( EventDescription );
var startDate = new Date( Event.start.getTime() );
var startDate = getNextOrPreviousRecurrence( Event );
var EventStartDate = document.createTextNode( getFormatedDate( startDate ) );
OuterBox.getElementsByAttribute( "name", "StartDate" )[0].appendChild( EventStartDate );

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

@ -68,6 +68,7 @@
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarEventAlertDialog.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarEvent.js"/>
<!-- Picker popups -->

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

@ -146,7 +146,7 @@ function createAlarmBox( Event )
var EventDescription = document.createTextNode( Event.description );
OuterBox.getElementsByAttribute( "name", "Description" )[0].appendChild( EventDescription );
var startDate = new Date( Event.start.getTime() );
var startDate = getNextOrPreviousRecurrence( Event );
var EventStartDate = document.createTextNode( getFormatedDate( startDate ) );
OuterBox.getElementsByAttribute( "name", "StartDate" )[0].appendChild( EventStartDate );

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

@ -68,6 +68,7 @@
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarEventAlertDialog.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarEvent.js"/>
<!-- Picker popups -->

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

@ -106,11 +106,11 @@ function CalendarWindow( calendarDataSource )
{
case "1":
this.currentView = this.weekView;
document.getElementById( "week-tree-hour-0" ).focus();
break;
case "2":
this.currentView = this.dayView;
document.getElementById( "day-tree-item-0" ).focus();
break;
default:
this.currentView = this.monthView;