mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-03 01:31:26 +01:00
Calendar: Add participant button is now always visible but disabled until there's a participant to add
This commit is contained in:
parent
91bd7d5a43
commit
a18f956533
@ -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);
|
||||
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user