diff --git a/main/admin/skills.php b/main/admin/skills.php index d5bdafc7bd..fb7a1f42d1 100755 --- a/main/admin/skills.php +++ b/main/admin/skills.php @@ -18,6 +18,7 @@ if (api_get_setting('allow_skills_tool') != 'true') { //Adds the JS needed to use the jqgrid $htmlHeadXtra[] = api_get_js('jquery.jsPlumb.all.js'); +$htmlHeadXtra[] = api_get_js('jqueryui-touch-punch/jquery.ui.touch-punch.min.js'); $htmlHeadXtra[] = api_get_js('skills.js'); $skill = new Skill(); diff --git a/main/exercice/admin.php b/main/exercice/admin.php index 2d5f06c4e3..a2f74259ac 100755 --- a/main/exercice/admin.php +++ b/main/exercice/admin.php @@ -336,6 +336,7 @@ function multiple_answer_true_false_onchange(variable) { '; +$htmlHeadXtra[] = api_get_js('jqueryui-touch-punch/jquery.ui.touch-punch.min.js'); $htmlHeadXtra[] = api_get_js('jquery.jsPlumb.all.js'); $template = new Template(); diff --git a/main/exercice/exercise_submit.php b/main/exercice/exercise_submit.php index 0ce8122ae7..0950bcdcc5 100755 --- a/main/exercice/exercise_submit.php +++ b/main/exercice/exercise_submit.php @@ -50,6 +50,7 @@ if ($showGlossary) { $htmlHeadXtra[] = api_get_js('jquery.highlight.js'); } +$htmlHeadXtra[] = api_get_js('jqueryui-touch-punch/jquery.ui.touch-punch.min.js'); $htmlHeadXtra[] = api_get_js('jquery.jsPlumb.all.js'); $htmlHeadXtra[] = api_get_js('d3/jquery.xcolor.js'); diff --git a/main/social/skills_tree.php b/main/social/skills_tree.php index fbf8346658..0091fce4d9 100755 --- a/main/social/skills_tree.php +++ b/main/social/skills_tree.php @@ -18,6 +18,7 @@ if (api_get_setting('allow_skills_tool') != 'true') { //Adds the JS needed to use the jqgrid $htmlHeadXtra[] = api_get_jqgrid_js(); +$htmlHeadXtra[] = api_get_js('jqueryui-touch-punch/jquery.ui.touch-punch.min.js'); $htmlHeadXtra[] = api_get_js('jquery.jsPlumb.all.js'); $htmlHeadXtra[] = api_get_js('skills.js');