зеркало из https://github.com/mozilla/gecko-dev.git
Bug 330020, View navigation buttons does not work since 2006-03-08 build, r=jminta
This commit is contained in:
Родитель
df1abc2d33
Коммит
0707e707ba
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче