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

formal_white theme does not use standard page-header div

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.3
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      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

              Assignee:
              daniss Daniele Cordella
              Reporter:
              mist Mika Ståhlberg
              Tester:
              Dongsheng Cai
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/May/11