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

mform disableif doesn't work on 'editor' element when wysiwig enabled

XMLWordPrintable

    • MOODLE_20_STABLE, MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-29701-master
    • Hide
      1. Copy the attached testform.php to your installation
      2. Login to Moodle
      3. Open editor preferences and set editor to Atto
      4. Open http://path/to/your/moodle/testform.php on your site
      5. Toggle the checkbox a few times
        1. Confirm that the editor is enabled, and disabled as you would expect (unchecked = enabled, checked = disabled)
      6. Repeat for TinyMCE
      7. Repeat for Plain text editor
      Show
      Copy the attached testform.php to your installation Login to Moodle Open editor preferences and set editor to Atto Open http://path/to/your/moodle/testform.php on your site Toggle the checkbox a few times Confirm that the editor is enabled, and disabled as you would expect (unchecked = enabled, checked = disabled) Repeat for TinyMCE Repeat for Plain text editor

      If you have a field that uses htmleditor and the user allows wysiwigs - the disableif check doesn't work - if they elect to use standard web forms in their profile - it works as expected.

      I can take a look at this - just might need some pointers on where/how to go about fixing it.

        1. testform.php
          0.6 kB
        2. test1.PNG
          test1.PNG
          38 kB
        3. test2.PNG
          test2.PNG
          36 kB
        4. MDL-29701_AttoEditor.PNG
          MDL-29701_AttoEditor.PNG
          15 kB
        5. MDL-29701_PlainTextEditor.PNG
          MDL-29701_PlainTextEditor.PNG
          11 kB
        6. MDL-29701_TinyMCE.PNG
          MDL-29701_TinyMCE.PNG
          17 kB

            phúchậumaihp Jake Hau
            danmarsden Dan Marsden
            Tim Hunt Tim Hunt
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            8 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m

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