Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30721

'New theme saved' page doesn't include required javascript for page blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1
    • Administration, Themes
    • MOODLE_21_STABLE
    • Hide

      Possible fix/workaround:

      diff --git a/theme/index.php b/theme/index.php
      index 7424d2b..f910fff 100644
      --- a/theme/index.php
      +++ b/theme/index.php
      @@ -69,6 +69,7 @@ if ($reset and confirm_sesskey()) {
           echo format_text(get_string('choosereadme', 'theme_'.$theme->name), FORMAT_MOODLE);
           echo $output->box_end();
           echo $output->continue_button($CFG->wwwroot . '/theme/index.php');
      +    echo $PAGE->requires->get_end_code();
           echo $output->footer();
           exit;
       }
       

      Show
      Possible fix/workaround: diff --git a/theme/index.php b/theme/index.php index 7424d2b..f910fff 100644 --- a/theme/index.php +++ b/theme/index.php @@ -69,6 +69,7 @@ if ($reset and confirm_sesskey()) { echo format_text(get_string('choosereadme', 'theme_'.$theme->name), FORMAT_MOODLE); echo $output->box_end(); echo $output->continue_button($CFG->wwwroot . '/theme/index.php'); + echo $PAGE->requires->get_end_code(); echo $output->footer(); exit; }  

      'New theme saved' page doesn't include required javascript for page blocks ...
      After selecting a new theme, the page is displayed without required javascript for page blocks, etc.
      E.g. /theme/index.php?device=default&choose=formal_white&sesskey=v2MzhGY4QG

      Appears problem in: /theme/index.php

            andyjdavis Andrew Davis
            brentb Brent Boghosian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.