mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
mod-feedback MDL-16706 Removed inline JS and added PAGE methods
This commit is contained in:
parent
183abffc6b
commit
7747c8dbd6
@ -133,7 +133,7 @@
|
||||
echo '<input type="hidden" name="courseitemfilter" value="'.$courseitemfilter.'" />';
|
||||
echo '<input type="hidden" name="courseitemfiltertyp" value="'.$courseitemfiltertyp.'" />';
|
||||
echo '<input type="hidden" name="courseid" value="'.$courseid.'" />';
|
||||
$PAGE->requires->js('mod/feedback/feedback.js')->asap();
|
||||
echo $PAGE->requires->js('mod/feedback/feedback.js')->asap();
|
||||
$sql = 'select c.id, c.shortname from {course} c, '.
|
||||
'{feedback_value} fv, {feedback_item} fi '.
|
||||
'where c.id = fv.course_id and fv.item = fi.id '.
|
||||
|
Loading…
x
Reference in New Issue
Block a user