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

CSS Optimizer does not work with mymobile theme.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.3.7, 2.4.4
    • 2.3.3, 2.4.3
    • Themes
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-38702_master
    • 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)

    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

      Attachments

        Issue Links

          Activity

            People

              lazydaisy Mary Evans
              kmccarthy Kevin McCarthy
              Dan Poltawski Dan Poltawski
              Ankit Agarwal Ankit Agarwal
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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