mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
disabled freebusy for tasks
This commit is contained in:
parent
9620e9f677
commit
382515e5a0
@ -1300,6 +1300,12 @@
|
||||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
var args = window.arguments[0];
|
||||
var item = args.calendarEvent;
|
||||
|
||||
if (isToDo(item))
|
||||
return;
|
||||
|
||||
var self = this;
|
||||
var load = function loadHandler() { self.onLoad(); };
|
||||
window.addEventListener("load", load, true);
|
||||
|
@ -365,9 +365,12 @@
|
||||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
if (isToDo(window.calendarItem))
|
||||
return;
|
||||
var args = window.arguments[0];
|
||||
var item = args.calendarEvent;
|
||||
|
||||
if (isToDo(item))
|
||||
return;
|
||||
|
||||
var pb2 = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch2);
|
||||
|
||||
// get default start/end times from prefs and set on the
|
||||
@ -379,9 +382,6 @@
|
||||
this.mEndHour = pb2.getIntPref("calendar.view.defaultendhour");
|
||||
} catch (ex) {}
|
||||
|
||||
var args = window.arguments[0];
|
||||
var item = args.calendarEvent;
|
||||
|
||||
// the basedate is the date/time from which the display
|
||||
// of the timebar starts. the range is the number of days
|
||||
// we should be able to show. the start- and enddate
|
||||
@ -885,6 +885,12 @@
|
||||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
var args = window.arguments[0];
|
||||
var item = args.calendarEvent;
|
||||
|
||||
if (isToDo(item))
|
||||
return;
|
||||
|
||||
this.mRange = this.getAttribute("range");
|
||||
|
||||
this.mMaxFreeBusy = 0;
|
||||
|
@ -66,7 +66,7 @@ function onLoad()
|
||||
updateTitle();
|
||||
|
||||
if (isToDo(window.calendarItem))
|
||||
document.getElementById("timezone-tab").setAttribute("collapsed","true");
|
||||
document.getElementById("attendees-tab").setAttribute("collapsed","true");
|
||||
|
||||
opener.setCursor("auto");
|
||||
|
||||
|
@ -78,22 +78,22 @@
|
||||
<!-- The Tabbox contains all the differents tabs -->
|
||||
<tabbox id="dialog-tab" flex="1">
|
||||
<tabs onselect="onTabSelected();">
|
||||
<tab label="&event.tab.main.label;"/>
|
||||
<tab label="&event.tab.recurrence.label;"/>
|
||||
<tab label="&event.tab.attendees.label;"/>
|
||||
<tab label="&event.tab.timezone.label;" collapsed="true"/>
|
||||
<tab label="&event.tab.main.label;" id="main-tab"/>
|
||||
<tab label="&event.tab.recurrence.label;" id="recurrence-tab"/>
|
||||
<tab label="&event.tab.attendees.label;" id="attendees-tab"/>
|
||||
<tab label="&event.tab.timezone.label;" id="timezone-tab" collapsed="true"/>
|
||||
</tabs>
|
||||
<tabpanels flex="1">
|
||||
<tabpanel id="main-tab">
|
||||
<tabpanel>
|
||||
<main-page id="main-page" flex="1"/>
|
||||
</tabpanel>
|
||||
<tabpanel id="recurrence-tab">
|
||||
<tabpanel>
|
||||
<recurrence-page id="recurrence-page" flex="1" orient="vertical"/>
|
||||
</tabpanel>
|
||||
<tabpanel id="attendees-tab">
|
||||
<tabpanel>
|
||||
<attendees-page id="attendees-page" range="4" flex="1"/>
|
||||
</tabpanel>
|
||||
<tabpanel id="timezone-tab">
|
||||
<tabpanel>
|
||||
<timezone-page id="timezone-page" flex="1"/>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
|
Loading…
Reference in New Issue
Block a user