Bug 330020, View navigation buttons does not work since 2006-03-08 build, r=jminta

This commit is contained in:
Olli.Pettay%helsinki.fi 2006-03-15 21:54:32 +00:00
Родитель df1abc2d33
Коммит 0707e707ba
5 изменённых файлов: 7 добавлений и 7 удалений

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

@ -59,8 +59,8 @@
<xul:vbox pack="start">
<!-- Snooze button hidden for Lightning 0.1. Most likely we need to
introduce calIAlarm properly before it can work without dataloss
<xul:button label="&calendar.alarm.snooze.label;" oncommand="var event = document.createEvent('Events'); event.initEvent('snooze', false, false); this.dispatchEvent(event);"/>-->
<xul:button label="&calendar.alarm.dismiss.label;" oncommand="var event = document.createEvent('Events'); event.initEvent('dismiss', false, false); this.dispatchEvent(event);"/>
<xul:button label="&calendar.alarm.snooze.label;" oncommand="var event = document.createEvent('Events'); event.initEvent('snooze', true, false); this.dispatchEvent(event);"/>-->
<xul:button label="&calendar.alarm.dismiss.label;" oncommand="var event = document.createEvent('Events'); event.initEvent('dismiss', true, false); this.dispatchEvent(event);"/>
</xul:vbox>
</xul:hbox>
</content>

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

@ -101,7 +101,7 @@
<body><![CDATA[
this.mValue = aNumber;
var event = document.createEvent('Events');
event.initEvent('move', false, true);
event.initEvent('move', true, true);
event.detail = aNumber;
this.dispatchEvent(event);
]]></body>

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

@ -113,7 +113,7 @@
<parameter name="aEventType"/>
<body><![CDATA[
var e = document.createEvent("Events");
e.initEvent("todo-" + aEventType, false, true);
e.initEvent("todo-" + aEventType, true, true);
this.dispatchEvent(e);
]]></body>
</method>

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

@ -308,7 +308,7 @@
if (aValue != null && aRefresh) {
var event = document.createEvent('Events');
event.initEvent("change", false, true);
event.initEvent("change", true, true);
this.dispatchEvent(event);;
}
]]>
@ -1169,7 +1169,7 @@
<body>
<![CDATA[
var event = document.createEvent('Events');
event.initEvent(aEventName, false, true);
event.initEvent(aEventName, true, true);
this.dispatchEvent(event);
]]>
</body>

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

@ -355,7 +355,7 @@
<body>
<![CDATA[
var event = document.createEvent('Events');
event.initEvent(aEventName, false, true);
event.initEvent(aEventName, true, true);
this.dispatchEvent(event);
]]>
</body>