port the fix for bug 285014 to sunbird, to have calendar management there too.

git-svn-id: svn://10.0.0.236/trunk@172988 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mvl%exedo.nl 2005-05-03 12:47:00 +00:00
parent c3a0461a3e
commit cbfd5886fb
2 changed files with 4 additions and 25 deletions

View File

@ -57,7 +57,7 @@
<script type="application/x-javascript" src="chrome://calendar/content/dragDrop.js"/>
<!-- NEEDED FOR MULTIPLE CALENDAR SUPPORT -->
<script type="application/x-javascript" src="chrome://calendar/content/calendarManager.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarManagement.js"/>
<!-- NEEDED FOR CLIPBOARD SUPPORT -->
<script type="application/x-javascript" src="chrome://calendar/content/clipboard.js"/>

View File

@ -451,33 +451,12 @@
<tabpanel>
<!--<vbox id="left-hand-above-splitter" flex="1">-->
<listbox id="list-calendars-listbox" class="unifinder-tree-class" flex="1"
contextmenu="calendarlist-context-menu" datasources="rdf:null" ref="urn:calendarcontainer">
<listhead>
<listheader flex="1" crop="end" label="&calendar.calendarlistbox.label;"/>
<listheader/>
</listhead>
contextmenu="calendarlist-context-menu">
<listcols>
<listcol flex="1"/>
<listcol/>
<listcol/>
<listcol flex="1"/>
</listcols>
<template>
<rule>
<listitem uri="rdf:*"
calendarPath="rdf:http://home.netscape.com/NC-rdf#path"
onclick="switchCalendar( event );">
<listcell class="calendar-list-item-class"
label="rdf:http://home.netscape.com/NC-rdf#name"
flex="1"
type="checkbox"
checked="rdf:http://home.netscape.com/NC-rdf#active"/>
<!-- If you add something between the above listcell and this listcell,
or between the next listcell and the image tag, you have to modify calendarManager.js -->
<listcell>
<image class="calendar-list-item-class"/>
</listcell>
</listitem>
</rule>
</template>
</listbox>
<!--</vbox>-->
</tabpanel>