mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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 (!this.et2 && !this.checkET2()) return;
|
||||||
if (_data == null)
|
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+'[vacationnotice]').set_value('');
|
||||||
this.et2.getWidgetById(this.nm_index+'[vacationrange]').set_value('');
|
this.et2.getWidgetById(this.nm_index+'[vacationrange]').set_value('');
|
||||||
}
|
}
|
||||||
else
|
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+'[vacationnotice]').set_value(_data.vacationnotice);
|
||||||
this.et2.getWidgetById(this.nm_index+'[vacationrange]').set_value(_data.vacationrange);
|
this.et2.getWidgetById(this.nm_index+'[vacationrange]').set_value(_data.vacationrange);
|
||||||
}
|
}
|
||||||
|
@ -1047,3 +1047,13 @@ div#mail-index_nm.splitter-pane {min-height: 100px;}
|
|||||||
}
|
}
|
||||||
#popupMainDiv {height: 100%}
|
#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"/>
|
<buttononly id="button[mailcreate]" onclick="app.mail.mail_compose(false);" label="Compose" image="add"/>
|
||||||
</template>
|
</template>
|
||||||
<template id="mail.index.header_right" template="" lang="" group="0" version="1.9.001">
|
<template id="mail.index.header_right" template="" lang="" group="0" version="1.9.001">
|
||||||
<hbox id="mail.index.vacationnotice" class="mail-index_vacation">
|
<et2-details id="mail.index.vacationnotice" summary="on vacation" toggleOnHover="true" hoist="true" class="vacationnotice">
|
||||||
<vbox>
|
<description id="nm[vacationnotice]" class="@nm[vacationclass]"/>
|
||||||
<description id="nm[vacationnotice]" class="@nm[vacationclass]"/>
|
<description id="nm[vacationrange]" class="@nm[vacationrangeclass]"/>
|
||||||
<description id="nm[vacationrange]" class="@nm[vacationrangeclass]"/>
|
</et2-details>
|
||||||
</vbox>
|
|
||||||
</hbox>
|
|
||||||
<hbox id="mail.index.datefilter" class="mail-index_datefilter">
|
<hbox id="mail.index.datefilter" class="mail-index_datefilter">
|
||||||
<date id="startdate" label="Start" onchange="app.mail.mail_refreshMessageGrid(false,true);"/>
|
<date id="startdate" label="Start" onchange="app.mail.mail_refreshMessageGrid(false,true);"/>
|
||||||
<date id="enddate" label="End" 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