Calendar: Add participant button is now always visible but disabled until there's a participant to add

This commit is contained in:
nathan 2022-09-22 15:29:58 -06:00
parent 91bd7d5a43
commit a18f956533
2 changed files with 2 additions and 2 deletions

View File

@ -1638,7 +1638,7 @@ export class CalendarApp extends EgwApp
// array of participants
let value = participant.value;
add.set_readonly(value.length <= 0);
add.disabled = (value.length <= 0);
quantity.set_readonly(false);

View File

@ -66,7 +66,7 @@
<select class="selectRole" id="role"/>
<button id="add" align="right" image="add" novalidate="1"
statustext="Please first select participants on the left and then use plus button to add them"
background_image="1" readonly="true" ro_image="add"/>
background_image="1" disabled="true" ro_image="add"/>
</hbox>
</row>
<row class="th thb">