Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Dan Marsden danmarsden authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  mod/scorm/mod_form.php
1  mod/scorm/mod_form.php
@@ -204,6 +204,7 @@ function definition() {
204 204 $mform->addElement('selectyesno', 'hidenav', get_string('hidenav', 'scorm'));
205 205 $mform->setDefault('hidenav', $cfg_scorm->hidenav);
206 206 $mform->setAdvanced('hidenav');
  207 + $mform->disabledIf('hidenav', 'hidetoc', 'noteq', 0);
207 208
208 209 // Autocontinue
209 210 $mform->addElement('selectyesno', 'auto', get_string('autocontinue', 'scorm'));

0 comments on commit 07d9ba8

Please sign in to comment.
Something went wrong with that request. Please try again.