Issue Details (XML | Word | Printable)

Key: MDL-20119
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: David Herney Bernal
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-17364

Error in ajax rating in single forum

Created: 18/Aug/09 10:34 PM   Updated: 02/Nov/09 02:39 PM
Component/s: AJAX, Forum
Affects Version/s: 1.9.5
Fix Version/s: 1.9.7

Participants: David Herney Bernal and Martin Dougiamas
Security Level: None
Difficulty: Easy
Resolved date: 02/Nov/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas added a comment - 02/Nov/09 02:39 PM
Fixed in 1.9.6+ and HEAD