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

JS function openpopup is expecting/supplying the wrong args

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: JavaScript
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      There are 3 versions of the JS function openpopup() declared. 2 expect 4 arguments. the one in javascript-static.js expects 4. Throughout the php code we are adding JS calls to openpopup supplying 4 arguments however these calls are going to the 2 argument version.

      For example of a call see line 32 of blocks/message/block_messages.php

        Attachments

          Activity

            People

            Assignee:
            andyjdavis Andrew Davis
            Reporter:
            andyjdavis Andrew Davis
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10