mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Get vacation notice shown again
This commit is contained in:
parent
06a7767194
commit
0a3e6503ac
@ -1543,11 +1543,13 @@ app.classes.mail = AppJS.extend(
|
||||
if (!this.et2 && !this.checkET2()) return;
|
||||
if (_data == null)
|
||||
{
|
||||
this.et2.getWidgetById('mail.index.vacationnotice').set_disabled(true);
|
||||
this.et2.getWidgetById(this.nm_index+'[vacationnotice]').set_value('');
|
||||
this.et2.getWidgetById(this.nm_index+'[vacationrange]').set_value('');
|
||||
}
|
||||
else
|
||||
{
|
||||
this.et2.getWidgetById('mail.index.vacationnotice').set_disabled(false);
|
||||
this.et2.getWidgetById(this.nm_index+'[vacationnotice]').set_value(_data.vacationnotice);
|
||||
this.et2.getWidgetById(this.nm_index+'[vacationrange]').set_value(_data.vacationrange);
|
||||
}
|
||||
|
@ -1046,4 +1046,14 @@ div#mail-index_nm.splitter-pane {min-height: 100px;}
|
||||
border: none;
|
||||
}
|
||||
#popupMainDiv {height: 100%}
|
||||
.treeContainer {height: calc(100% - 100px)}
|
||||
.treeContainer {height: calc(100% - 100px)}
|
||||
#mail-index_mail-index-header_right {gap: 1ex;}
|
||||
#mail-index_mail-index-header_right et2-details.vacationnotice {
|
||||
min-width: 8em;
|
||||
}
|
||||
#mail-index_mail-index-header_right et2-details.vacationnotice::part(base) {
|
||||
background: #dee9f3;
|
||||
border-color: #0f65968f;
|
||||
border-width: 1px;
|
||||
height: 2.6em;
|
||||
}
|
@ -125,12 +125,11 @@
|
||||
<buttononly id="button[mailcreate]" onclick="app.mail.mail_compose(false);" label="Compose" image="add"/>
|
||||
</template>
|
||||
<template id="mail.index.header_right" template="" lang="" group="0" version="1.9.001">
|
||||
<hbox id="mail.index.vacationnotice" class="mail-index_vacation">
|
||||
<vbox>
|
||||
<description id="nm[vacationnotice]" class="@nm[vacationclass]"/>
|
||||
<description id="nm[vacationrange]" class="@nm[vacationrangeclass]"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<et2-details id="mail.index.vacationnotice" summary="on vacation" toggleOnHover="true" hoist="true" class="vacationnotice">
|
||||
<description id="nm[vacationnotice]" class="@nm[vacationclass]"/>
|
||||
<description id="nm[vacationrange]" class="@nm[vacationrangeclass]"/>
|
||||
</et2-details>
|
||||
|
||||
<hbox id="mail.index.datefilter" class="mail-index_datefilter">
|
||||
<date id="startdate" label="Start" onchange="app.mail.mail_refreshMessageGrid(false,true);"/>
|
||||
<date id="enddate" label="End" onchange="app.mail.mail_refreshMessageGrid(false,true);"/>
|
||||
|
Loading…
Reference in New Issue
Block a user