Skip to content

Commit

Permalink
media-list: category select: removed double attribute (#5690)
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis committed May 17, 2023
1 parent 9679404 commit 788a01b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions redaxo/src/addons/mediapool/pages/media.list.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@
$catsSel = new rex_media_category_select();
$catsSel->setSize(1);
$catsSel->setStyle('class="form-control selectpicker"');
$catsSel->setAttribute('data-live-search', 'true');
$catsSel->setName('rex_file_category');
$catsSel->setId('rex_file_category');
$catsSel->setAttribute('class', 'selectpicker form-control');
$catsSel->setAttribute('data-live-search', 'true');
$catsSel->setSelected($rexFileCategory);

if ($perm->hasAll()) {
Expand Down

0 comments on commit 788a01b

Please sign in to comment.