diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-08-07 09:43:44 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-08-08 10:36:32 +0200 |
| commit | 84703843efa493db952b119a1fd63a1b37bd3891 (patch) | |
| tree | 48a18fdefbdc561803e35295be7f90706591ff35 /templates/sidebar | |
| parent | 86366e92e6cd8585ace1ef0098d3c9baa8f050cd (diff) | |
actually reset search on courses admin page, fixes #4460
Closes #4460
Merge request studip/studip!3245
Diffstat (limited to 'templates/sidebar')
| -rw-r--r-- | templates/sidebar/search-widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar/search-widget.php b/templates/sidebar/search-widget.php index c314673..e475f00 100644 --- a/templates/sidebar/search-widget.php +++ b/templates/sidebar/search-widget.php @@ -33,7 +33,7 @@ <?= Icon::create('decline')->asInput([ 'title' => _('Suche zurücksetzen'), 'class' => 'reset-search', - 'onclick' => "document.getElementById('needle-".$hash."').value = ''; this.remove();" + 'onclick' => "document.getElementById('needle-".$hash."').value = ''; this.remove();" . ($onclear ?? ''), ]) ?> <? else : ?> <a class="reset-search" href="<?= $reset_link ?>" tabindex="0" role="button" |
