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

formal_white theme does not use standard page-header div

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1
    • 2.0.3
    • Themes
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      Setting IMS resource height (resource is shown or page is resized) fails when page-header or page-footer element can't be found.

      Module.js function imscp_get_htmlelement_size first line returns false if element is missing.

      Maybe test for false set default value if element is missing:

      var val = YAHOO.util.Dom.getStyle(el, prop); // val is false if el is missing
      if(val === false){
      val = "0px";
      }

      Attachments

        Issue Links

          Activity

            People

              daniss Daniele Cordella
              mist Mika Ståhlberg
              Dongsheng Cai Dongsheng Cai
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/May/11