Skip to content

Commit

Permalink
Fix button design and bulk delete issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rxcod9 committed Mar 8, 2022
1 parent 8e985a5 commit 1bb4102
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/views/bread/import.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class="btn btn-info pull-left"
</div><!-- /.modal -->

<script>
window.onload = function () {
$(window).load(function() {
// Bulk import selectors
var $bulkImportBtn = $('#bulk_import_btn');
var $bulkImportModal = $('#bulk_import_modal');
Expand Down Expand Up @@ -78,5 +78,5 @@ class="btn btn-info pull-left"
// toastr.warning('{{ __('joy-voyager-import::generic.bulk_import_nothing') }}');
// }
});
}
});
</script>
3 changes: 2 additions & 1 deletion src/Actions/ImportAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public function getPolicy()
public function getAttributes()
{
return [
'class' => 'btn btn-sm btn-primary',
'id' => 'bulk_import_btn',
'class' => 'btn btn-primary',
];
}

Expand Down

0 comments on commit 1bb4102

Please sign in to comment.