Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-28721 SCORM - disable hidenav setting if hidetoc not set to displ…

…ay toc to the left
  • Loading branch information...
commit 07d9ba8e9bf004beba3bfd37945fed2d1728eaa4 1 parent 9d228de
@danmarsden danmarsden authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/scorm/mod_form.php
View
1  mod/scorm/mod_form.php
@@ -204,6 +204,7 @@ function definition() {
$mform->addElement('selectyesno', 'hidenav', get_string('hidenav', 'scorm'));
$mform->setDefault('hidenav', $cfg_scorm->hidenav);
$mform->setAdvanced('hidenav');
+ $mform->disabledIf('hidenav', 'hidetoc', 'noteq', 0);
// Autocontinue
$mform->addElement('selectyesno', 'auto', get_string('autocontinue', 'scorm'));
Please sign in to comment.
Something went wrong with that request. Please try again.