Skip to content
Snippets Groups Projects
Commit d36b39f0 authored by Tobias Baden's avatar Tobias Baden
Browse files

Fixed the search scroll

- last version skipped each second row while scrolling with arrow keys
- Updated Version
parent 938335e6
Branches
Tags
No related merge requests found
......@@ -26,7 +26,6 @@ class block_hshcourselist extends block_base {
global $CFG, $DB, $OUTPUT;
$this->page->requires->js('/blocks/hshcourselist/javascript/jquery-3.2.0.min.js');
$this->page->requires->js_call_amd('block_hshcourselist/listselect', 'init', array($CFG->wwwroot));
$this->page->requires->css('/blocks/hshcourselist/style.css');
if ($this->content !== null) {
......@@ -178,6 +177,7 @@ class block_hshcourselist extends block_base {
if (!empty($this->config->title) && $this->config->enablecustomheader) {
$this->title = $this->config->title;
}
$this->page->requires->js_call_amd('block_hshcourselist/listselect', 'init', array($CFG->wwwroot));
return $this->content;
}
......
<?php
$plugin->component = 'block_hshcourselist';
$plugin->version = 2018082901; // YYYYMMDDHH
$plugin->version = 2018083000; // YYYYMMDDHH
$plugin->requires = 2016112900; // YYYYMMDDHH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment