Skip to content

Commit cb34207

Browse files
committed
Merge branch 'master' into ec-3.8
2 parents 2619009 + 5e02727 commit cb34207

6 files changed

+13
-26
lines changed

Diff for: chrome/content/attachments-view.xul

+1-7
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,7 @@
9292
</toolbarpalette>
9393
<toolbar id="event-toolbar" defaultset="button-save,button-attendees,button-privacy,button-url,exchWebService-add-attachment-button,button-delete">
9494
</toolbar>
95-
96-
<listbox id="exchWebService-attachment-link"
97-
context="exchWebService-attachment-popup"
98-
rows="2"
99-
onkeypress="tmpAttachment.onKeyPress(event);"
100-
ondblclick="tmpAttachment.onDblClick(event);"
101-
onselect="tmpAttachment.onSelect(event);"/>
95+
10296

10397
</overlay>
10498

Diff for: chrome/content/calendar-common-sets.xul

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
]>
4444
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4545
<script type="application/javascript" src="chrome://exchangecalendar/content/calendar-common-sets.js" />
46-
<script type="application/javascript" src="chrome://exchangecalendar/content/calendar-common-sets2.js" />
46+
<script type="application/javascript" src="chrome://exchangecalendar/content/exchService-common-sets.js" />
4747

4848
<commandset id="calendar_commands" commandupdater="true"
4949
events="calendar_commands" oncommandupdate="calendarController.updateCommands()">

Diff for: chrome/content/calendar-task-view.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/*
22
* Owner:Ericsson
3-
*/
4-
5-
3+
*/
64
var Cc = Components.classes;
75
var Ci = Components.interfaces;
86
var Cu = Components.utils;
@@ -54,7 +52,7 @@ function taskHtmlDetailsView(event){
5452
if( item.calendar.type == "exchangecalendar" ){
5553
//Html manipulations
5654
var ele = document.getElementById("calendar-task-details-description");
57-
var ele2 = document.getElementById("calendar-task-details-description2");
55+
var ele2 = document.getElementById("exchService-task-details-description");
5856

5957
//remove existing task view
6058
//ele.parentNode.removeChild(ele);
@@ -101,6 +99,10 @@ function taskHtmlDetailsView(event){
10199
var collection = query.getCollection(queryListener);
102100
}
103101
}
102+
}
103+
else {
104+
document.getElementById("exchService-task-details-description").hidden = true;
105+
document.getElementById("calendar-task-details-description").hidden = false;
104106
}
105107
}
106108
}

Diff for: chrome/content/calendar-task-view.xul

+1-11
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
<vbox id="calendar-task-box" onselect="taskHtmlDetailsView(event);"/>
6060
<vbox id="calendar-task-details-container">
61-
<browser id="calendar-task-details-description2"
61+
<browser id="exchService-task-details-description"
6262
name="messagepane02"
6363
height="0"
6464
flex="1"
@@ -93,16 +93,6 @@
9393
</menupopup>
9494
</popupset>
9595

96-
<hbox id="calendar-task-details-attachment-row">
97-
<vbox id="exchWebService-attachments-row"
98-
flex="1"
99-
collapsed="true" insertbefore="calendar-task-details-attachment-rows">
100-
101-
<listbox id="exchWebService-attachment-link" rows="3" flex="1"/>
102-
103-
</vbox>
104-
</hbox>
105-
10696
</overlay>
10797

10898

Diff for: chrome/content/calendar-common-sets2.js renamed to chrome/content/exchService-common-sets.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ newOpenEventDialog(calendarItem, calendar, mode, callback, job, initialDate);
2323
}
2424

2525
function newOpenEventDialog(calendarItem, calendar, mode, callback, job, initialDate) {
26-
let dlg = cal.findItemWindow(calendarItem);
26+
calendarItem = calendarItem.clone();
27+
let dlg = cal.findItemWindow(calendarItem);
2728
if (dlg) {
2829
dlg.focus();
2930
disposeJob(job);
@@ -125,8 +126,8 @@ function newOpenEventDialog(calendarItem, calendar, mode, callback, job, initial
125126
} else {
126127
url = "chrome://calendar/content/calendar-summary-dialog.xul";
127128
}
128-
129-
if( calendarItem.itemClass == "IPM.Note" ) url = "chrome://exchangecalendar/content/calendar-event-dialog2.xul";
129+
130+
if( calendarItem.itemClass == "IPM.Note" ) url = "chrome://exchangecalendar/content/exchService-followup-event-dialog.xul";
130131

131132
// reminder: event dialog should not be modal (cf bug 122671)
132133
var features;

0 commit comments

Comments
 (0)