Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17364 Forum AJAX rating
  3. MDL-20119

Error in ajax rating in single forum

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.9.7
    • Component/s: Forum, JavaScript
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      AJAX rating does not work in single forum. In file forum/view.php is not include the libraries for AJAX.

      I fix it adding the next lines in view.php:

      require_js(array('yui_yahoo', 'yui_event', 'yui_dom', 'yui_connection', 'yui_json'));
      require_js($CFG->wwwroot . '/mod/forum/rate_ajax.js');

      Thanks

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dougiamas Martin Dougiamas
              Reporter:
              cirano David Herney Bernal
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Nov/09