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

Filepicker is missing iframe support

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1, 2.8.5
    • Fix Version/s: DEV backlog
    • Component/s: Filepicker
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_28_STABLE

      Description

      In 1.9, it was possible to have a repository plugin which loaded content in an iframe.

      I'm looking at restoring the Nanogong repository plugin to moodle 2, but without this it's not possible to include any custom content of this nature (that I know of).

      The support is missing from repository/filepicker.js

        Gliffy Diagrams

          Activity

          Hide
          salvetore Michael de Raadt added a comment -

          Thanks for suggesting that.

          Feel free to help us work on this.

          Show
          salvetore Michael de Raadt added a comment - Thanks for suggesting that. Feel free to help us work on this.
          Hide
          dongsheng Dongsheng Cai added a comment -

          This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.
          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          Show
          dongsheng Dongsheng Cai added a comment - This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment
          Hide
          jrchamp Jonathan Champ added a comment -

          Just noticed this in Moodle 2.8 while evaluating ForumNG (which uses an iframe for the posts). The code that would normally resize the File Picker at the 873px breakpoint does not appear to work inside of the iframe. The CSS goes into effect, but this causes the display to splinter because the code (possibly JavaScript?) that would normally make the File Picker full size does not appear to be triggering correctly.

          Show
          jrchamp Jonathan Champ added a comment - Just noticed this in Moodle 2.8 while evaluating ForumNG (which uses an iframe for the posts). The code that would normally resize the File Picker at the 873px breakpoint does not appear to work inside of the iframe. The CSS goes into effect, but this causes the display to splinter because the code (possibly JavaScript?) that would normally make the File Picker full size does not appear to be triggering correctly.

            People

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

              Dates

              • Created:
                Updated: