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

CSS Optimizer does not work with mymobile theme.

    Details

    • Testing Instructions:
      Hide
      1. Log in as an administrator
      2. Enable the CSS optimiser (Devlopment > Experimental > Experimental settings)
      3. Enable URL theme change (Appearance > Themes > Theme settings)
      4. Browse to a course front page using anything but the mymobile theme.
      5. Use Firebug or similar to get the URL for any core CSS file and open it in a new tab.
      6. Check that it has been optimised (likely on minimal lines)
      7. Change your theme to the MyMobile theme on URL &theme=mymobile
      8. Use Firebug again to get the same URL (it will have changed now I in most cases) and open it in a new tab.
      9. Check that the CSS is not optimised (several+ lines)
      Show
      Log in as an administrator Enable the CSS optimiser (Devlopment > Experimental > Experimental settings) Enable URL theme change (Appearance > Themes > Theme settings) Browse to a course front page using anything but the mymobile theme. Use Firebug or similar to get the URL for any core CSS file and open it in a new tab. Check that it has been optimised (likely on minimal lines) Change your theme to the MyMobile theme on URL &theme=mymobile Use Firebug again to get the same URL (it will have changed now I in most cases) and open it in a new tab. Check that the CSS is not optimised (several+ lines)
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-38702_master

      Description

      Issue: When the CSS optimizer is turned on the mymobile theme login page has no images on buttons and login button does not work

      Steps:
      -Go to http://SITE/admin/settings.php?section=experimentalsettings
      -Turn on (check) CSS optimizer option
      -Save
      -Go to the Theme Selector and select the MyMobile theme for mobile devices
      -Save
      -Go to site on a mobile device
      -Click the login button
      -Try to login
      -Login button does not do anything when pressed
      -Icons are also missing images as displayed by the empty circles

      Expected behavior: login page should work fine

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/13