We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca8d2f commit 6e4e9e9Copy full SHA for 6e4e9e9
1 file changed
controllers/pages/_list_toolbar.htm
@@ -18,4 +18,17 @@
18
data-stripe-load-indicator>
19
Delete selected
20
</button>
21
+ <button
22
+ class="btn btn-default wn-icon-clipboard"
23
+ disabled="disabled"
24
+ onclick="$(this).data('request-data', { checked: $('.control-list').listWidget('getChecked') })"
25
+ data-request="onCopy"
26
+ data-request-confirm="<?= e(trans('backend::lang.list.copy_selected_confirm')); ?>"
27
+ data-trigger-action="enable"
28
+ data-trigger=".control-list input[type=checkbox]"
29
+ data-trigger-condition="checked"
30
+ data-request-success="$(this).prop('disabled', 'disabled')"
31
+ data-stripe-load-indicator>
32
+ <?= e(trans('backend::lang.list.copy_selected')); ?>
33
+ </button>
34
</div>
0 commit comments