зеркало из 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">
|
<xul:vbox pack="start">
|
||||||
<!-- Snooze button hidden for Lightning 0.1. Most likely we need to
|
<!-- Snooze button hidden for Lightning 0.1. Most likely we need to
|
||||||
introduce calIAlarm properly before it can work without dataloss
|
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.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', false, 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:vbox>
|
||||||
</xul:hbox>
|
</xul:hbox>
|
||||||
</content>
|
</content>
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
<body><![CDATA[
|
<body><![CDATA[
|
||||||
this.mValue = aNumber;
|
this.mValue = aNumber;
|
||||||
var event = document.createEvent('Events');
|
var event = document.createEvent('Events');
|
||||||
event.initEvent('move', false, true);
|
event.initEvent('move', true, true);
|
||||||
event.detail = aNumber;
|
event.detail = aNumber;
|
||||||
this.dispatchEvent(event);
|
this.dispatchEvent(event);
|
||||||
]]></body>
|
]]></body>
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
<parameter name="aEventType"/>
|
<parameter name="aEventType"/>
|
||||||
<body><![CDATA[
|
<body><![CDATA[
|
||||||
var e = document.createEvent("Events");
|
var e = document.createEvent("Events");
|
||||||
e.initEvent("todo-" + aEventType, false, true);
|
e.initEvent("todo-" + aEventType, true, true);
|
||||||
this.dispatchEvent(e);
|
this.dispatchEvent(e);
|
||||||
]]></body>
|
]]></body>
|
||||||
</method>
|
</method>
|
||||||
|
|
|
@ -308,7 +308,7 @@
|
||||||
|
|
||||||
if (aValue != null && aRefresh) {
|
if (aValue != null && aRefresh) {
|
||||||
var event = document.createEvent('Events');
|
var event = document.createEvent('Events');
|
||||||
event.initEvent("change", false, true);
|
event.initEvent("change", true, true);
|
||||||
this.dispatchEvent(event);;
|
this.dispatchEvent(event);;
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
|
@ -1169,7 +1169,7 @@
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var event = document.createEvent('Events');
|
var event = document.createEvent('Events');
|
||||||
event.initEvent(aEventName, false, true);
|
event.initEvent(aEventName, true, true);
|
||||||
this.dispatchEvent(event);
|
this.dispatchEvent(event);
|
||||||
]]>
|
]]>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -355,7 +355,7 @@
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var event = document.createEvent('Events');
|
var event = document.createEvent('Events');
|
||||||
event.initEvent(aEventName, false, true);
|
event.initEvent(aEventName, true, true);
|
||||||
this.dispatchEvent(event);
|
this.dispatchEvent(event);
|
||||||
]]>
|
]]>
|
||||||
</body>
|
</body>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче