Bug 1565992 - attendees dialog recipients area needs scrollbars when adding many invitees. r=darktrojan
This commit is contained in:
Родитель
02dfe0a6f3
Коммит
f6df6343cb
|
@ -1407,12 +1407,13 @@ class MozCalendarEventFreebusyRow extends MozXULElement {
|
||||||
this.offset = 0;
|
this.offset = 0;
|
||||||
this.mStartDate = null;
|
this.mStartDate = null;
|
||||||
this.mEndDate = null;
|
this.mEndDate = null;
|
||||||
this.range = 0;
|
|
||||||
this.startHour = 0;
|
this.startHour = 0;
|
||||||
this.endHour = 24;
|
this.endHour = 24;
|
||||||
this.mForce24Hours = false;
|
this.mForce24Hours = false;
|
||||||
this.mZoomFactor = 100;
|
this.mZoomFactor = 100;
|
||||||
this.initTimeRange();
|
this.initTimeRange();
|
||||||
|
// XXX: range should not be taken from an element by id.
|
||||||
|
// Move the range attribute to calendar-event-freebusy-row?
|
||||||
this.range = Number(document.getElementById("freebusy-grid").getAttribute("range"));
|
this.range = Number(document.getElementById("freebusy-grid").getAttribute("range"));
|
||||||
this.onLoad();
|
this.onLoad();
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
<hbox flex="1">
|
<hbox flex="1">
|
||||||
<vbox id="attendees-container" flex="1" width="250" persist="width">
|
<vbox id="attendees-container" flex="1" width="250" persist="width">
|
||||||
<box class="attendee-spacer-top"/>
|
<box class="attendee-spacer-top"/>
|
||||||
<calendar-event-attendees-list flex="1" id="attendees-list" class="listbox-noborder">
|
<calendar-event-attendees-list flex="1" id="attendees-list" class="listbox-noborder" orient="vertical">
|
||||||
<richlistitem class="addressingWidgetItem" allowevents="true">
|
<richlistitem class="addressingWidgetItem" allowevents="true">
|
||||||
<hbox class="addressingWidgetCell" width="27" align="center" pack="center">
|
<hbox class="addressingWidgetCell" width="27" align="center" pack="center">
|
||||||
<image class="status-icon"/>
|
<image class="status-icon"/>
|
||||||
|
@ -121,12 +121,12 @@
|
||||||
</hbox>
|
</hbox>
|
||||||
</richlistitem>
|
</richlistitem>
|
||||||
</calendar-event-freebusy-timebar>
|
</calendar-event-freebusy-timebar>
|
||||||
<calendar-event-freebusy-grid flex="1"
|
<calendar-event-freebusy-grid id="freebusy-grid"
|
||||||
id="freebusy-grid"
|
flex="1"
|
||||||
|
orient="vertical"
|
||||||
range="16"
|
range="16"
|
||||||
class="listbox-noborder"
|
class="listbox-noborder"
|
||||||
seltype="multiple"
|
seltype="multiple"
|
||||||
rows="-1"
|
|
||||||
disabled="true">
|
disabled="true">
|
||||||
<richlistitem class="addressingWidgetItem"
|
<richlistitem class="addressingWidgetItem"
|
||||||
allowevents="true">
|
allowevents="true">
|
||||||
|
|
|
@ -298,9 +298,6 @@ label.label {
|
||||||
#freebusy-grid {
|
#freebusy-grid {
|
||||||
min-width: 1px;
|
min-width: 1px;
|
||||||
-moz-user-focus: normal;
|
-moz-user-focus: normal;
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -626,8 +623,6 @@ calendar-event-freebusy-day > box {
|
||||||
#attendees-list {
|
#attendees-list {
|
||||||
-moz-user-focus: normal;
|
-moz-user-focus: normal;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#attendees-list > richlistitem {
|
#attendees-list > richlistitem {
|
||||||
|
@ -651,10 +646,6 @@ calendar-event-freebusy-day > box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attendees-list-listbox > listboxbody {
|
|
||||||
overflow-y: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.selection-bar-left {
|
.selection-bar-left {
|
||||||
width: 3px;
|
width: 3px;
|
||||||
cursor: w-resize;
|
cursor: w-resize;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче