Browse Source

Fix jquery-ui path loader new functions apparently overwritten in merge

Yannick Warnier 10 years ago
parent
commit
7bce33a802
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/newscorm/lp_view.php

+ 2 - 2
main/newscorm/lp_view.php

@@ -502,8 +502,8 @@ if ($is_allowed_to_edit) {
          }, "top.content_name",
           { load: [
               { type:"script", id:"_fr1", src:"<?php echo api_get_jquery_web_path(); ?>"},
-              { type:"script", id:"_fr4", src:"<?php echo api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery-ui/smoothness/jquery-ui-1.8.21.custom.min.js"},
-              { type:"stylesheet", id:"_fr5", src:"<?php echo api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery-ui/smoothness/jquery-ui-1.8.21.custom.css"},
+              { type:"script", id:"_fr4", src:"<?php echo api_get_jquery_ui_js_web_path(); ?>"},
+              { type:"stylesheet", id:"_fr5", src:"<?php echo api_get_jquery_ui_css_web_path(); ?>"},
               { type:"script", id:"_fr2", src:"<?php echo api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.highlight.js"}
           ] }
           );