Skip to content

Commit

Permalink
CCLE-9671 - Waiting room and join before host both get checked
Browse files Browse the repository at this point in the history
* Removing disabedIf condition, relying on JS to keep settings mututally exclusive.
  • Loading branch information
rlorenzo committed Mar 8, 2021
1 parent 3bcba8c commit 3cd6500
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,13 @@ public function definition() {
$mform->addHelpButton('option_waiting_room', 'option_waiting_room', 'zoom');
$mform->setDefault('option_waiting_room', $config->defaultwaitingroomoption);
$mform->disabledIf('option_waiting_room', 'webinar', 'checked');
$mform->disabledIf('option_waiting_room', 'option_jbh', 'checked');

// Add join before host widget.
$mform->addElement('advcheckbox', 'option_jbh', get_string('option_jbh', 'zoom'),
get_string('joinbeforehostenable', 'zoom'));
$mform->setDefault('option_jbh', $config->defaultjoinbeforehost);
$mform->addHelpButton('option_jbh', 'option_jbh', 'zoom');
$mform->disabledIf('option_jbh', 'webinar', 'checked');
$mform->disabledIf('option_jbh', 'option_waiting_room', 'checked');

// Add authenticated users widget.
$mform->addElement('advcheckbox', 'option_authenticated_users', get_string('authentication', 'zoom'),
Expand Down

0 comments on commit 3cd6500

Please sign in to comment.