Minor - Remove unused code

pull/3959/head
Julio 4 years ago
parent ddaeb4c9a6
commit 5a1deefcc0
  1. 2
      assets/js/app.js
  2. 1194
      public/load_search.php
  3. 3
      public/main/lp/lp_add_item.php
  4. 8
      public/main/lp/lp_edit_item.php

@ -587,4 +587,4 @@ window.setCheckbox = setCheckbox;
window.action_click = action_click;
window.hideUnhide = hideUnhide;
window.addMainEvent = addMainEvent;
window.showTemplates = showTemplates;
//window.showTemplates = showTemplates;

File diff suppressed because it is too large Load Diff

@ -53,9 +53,6 @@ $(function() {
$('.lp_resource_element').click(function() {
//window.location.href = $('a', this).attr('href');
});
/*CKEDITOR.on('instanceReady', function (e) {
showTemplates('content_lp');
});*/
});
</script>";

@ -20,13 +20,7 @@ api_protect_course_script();
$learnPath = Session::read('oLP');
/* Header and action code */
$htmlHeadXtra[] = '<script>'.$learnPath->get_js_dropdown_array().'
$(function() {
CKEDITOR.on("instanceReady", function (e) {
showTemplates("content_lp");
});
});
</script>';
$htmlHeadXtra[] = '<script>'.$learnPath->get_js_dropdown_array().'</script>';
/* Constants and variables */
$is_allowed_to_edit = api_is_allowed_to_edit(null, true);

Loading…
Cancel
Save