tel8618217223380 / oasychev-moodle-plugins

Automatically exported from code.google.com/p/oasychev-moodle-plugins
0 stars 0 forks source link

Illegal way of loading category-dragdrop.js by local_ajaxcategories #358

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See the bottom of index.php

echo $OUTPUT->footer();
echo '<script src="./category-dragdrop.js"></script>';

This is pretty ugly and hacky way to load JS into a Moodle page. Please see the 
$PAGE->require API for better alternatives.

Original issue reported on code.google.com by david.mu...@gmail.com on 23 Jul 2015 at 3:10

GoogleCodeExporter commented 9 years ago
См. Это легко и важно.

Original comment by oasyc...@gmail.com on 23 Jul 2015 at 11:45

GoogleCodeExporter commented 9 years ago

Original comment by eklepilkina@gmail.com on 24 Jul 2015 at 11:06

GoogleCodeExporter commented 9 years ago
Все-таки следовало сделать 3 отдельных 
коммита, а не один на все 3 issue. Сколько можно 
про атомарность говорить?

Original comment by oasyc...@gmail.com on 11 Aug 2015 at 12:00