Moodle
  1. Moodle
  2. MDL-1179

Javascript function set_value breaks under Safari (Mac OS X)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: Resource
    • Labels:
      None
    • Environment:
      Mac OS X
    • Affected Branches:
      MOODLE_12_STABLE
    • Rank:
      13735

      Description

      When adding a new Uploaded File resource, in the pop-up window appearing after clicking the Choose or upload a file... button, the Choose link doesn't work.

      The console message generated is the following:

      (event handler):Value undefined (result of expression set_value) is not object. Cannot be called.

      Tested on three different Mac running Mac OS X 10.3.3 with Safari 1.2 (v125.1). Works well on the same machines with Firefox or IE.

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 24 March 2004, 08:37 AM:

        Hi Mina,

        I think it was produced by a small typo in mod/resource/coursefiles.php. Curiosly, the problem wasn't Safari (it was doing things strictly ok, but the rest of browsers allowing incorrect code).

        Changes are now in CVS. So I close this bug now.

        If you want to try the modification manually, you can edit the mod/resource/coursefiles.php and then, in line 67, change the 'javscript' word to 'javascript'.

        Reopen as necessary, ciao

        From (moodle at martignoni.net) Wednesday, 24 March 2004, 03:14 PM:

        Works for me now. Many thanks!

        Show
        Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 24 March 2004, 08:37 AM: Hi Mina, I think it was produced by a small typo in mod/resource/coursefiles.php. Curiosly, the problem wasn't Safari (it was doing things strictly ok, but the rest of browsers allowing incorrect code). Changes are now in CVS. So I close this bug now. If you want to try the modification manually, you can edit the mod/resource/coursefiles.php and then, in line 67, change the 'javscript' word to 'javascript'. Reopen as necessary, ciao From (moodle at martignoni.net) Wednesday, 24 March 2004, 03:14 PM: Works for me now. Many thanks!
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

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

            Dates

            • Created:
              Updated:
              Resolved: