Add toggle for homepage
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
@push('js')
|
||||
<script>
|
||||
function handleCategory() {
|
||||
initToggle("{{ route('Admin.Shop.Categories.toggleVisible') }}");
|
||||
initToggle("{{ route('Admin.Shop.Categories.toggleVisible') }}", '.visible');
|
||||
initToggle("{{ route('Admin.Shop.Categories.toggleHomepage') }}", '.homepage');
|
||||
$('#tree1').tree('reload');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user