Skip to content

Commit

Permalink
[K6.3] Show the button set all attach as private when files has
Browse files Browse the repository at this point in the history
uplaoded Kunena#9629
  • Loading branch information
xillibit committed Mar 3, 2024
1 parent 34de08f commit eeb4bb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/media/kunena/core/js/upload.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ jQuery(function ($) {

$('#remove-all').show();
$('#insert-all').show();
$('#set-secure-all').show();

$('#kattach_form').show();

Expand All @@ -443,6 +444,7 @@ jQuery(function ($) {

$('#remove-all').show();
$('#insert-all').show();
$('#set-secure-all').show();

const filecoutntmp = Object.keys(data['files']).length + fileCount;

Expand Down
2 changes: 1 addition & 1 deletion src/site/template/aurelia/layouts/topic/edit/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
<?php echo KunenaIcons::cancel(); ?>
<span><?php echo Text::_('COM_KUNENA_UPLOADED_LABEL_REMOVE_ALL_BUTTON') ?></span>
</button>
<button id="set-secure-all" class="btn btn-outline-primary" type="submit">
<button id="set-secure-all" class="btn btn-outline-primary" type="submit" style="display:none;">
<?php echo KunenaIcons::secure(); ?>
<span><?php echo Text::_('COM_KUNENA_UPLOADED_LABEL_SET_SECURE_ALL_BUTTON') ?></span>
</button>
Expand Down

0 comments on commit eeb4bb8

Please sign in to comment.