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

PDFs are not displaying according to settings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9.5
    • 1.9.6
    • Resource
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

    Description

      In 1.9 PDFs are not displaying according to the settings.

      See http://moodle.org/mod/forum/discuss.php?d=132906#p581622 for details.

      In short, here are combinations and expectations:

      1) Same window, navigation = No ..... PDF should be called directly and it isn't.
      2) Same window, navigation = Yes, with Frame ..... PDF should appear in lower frame and it isn't.
      3) Same window, navigation = Yes, without Frame .... PDF should appear embedded and it is (this is what happens for above two as well)

      Apparently all that is needed is to remove $embedded = true but I'm not sure if that's 100% correct on all browsers. Can you review this and fix it?

      Attachments

        1. MDL-20320_fix_only_PDF.patch
          2 kB
        2. MDL-20320.patch
          6 kB
        3. MDL-20320-db-upgrade.patch
          2 kB
        4. MDL-20320-db-upgrade.patch
          2 kB
        5. MDL-20320-db-upgrade.patch
          4 kB
        6. MDL-20320-db-upgrade.patch
          2 kB
        7. MDL-20320-db-upgrade.patch
          2 kB
        8. MDL-20320-fix_PDF-add_notice.patch
          3 kB

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              dougiamas Martin Dougiamas
              Nobody Nobody
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                21/Oct/09