1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-19 11:21:30 +02:00

feat(admin-plugin): update EntriesController #211

This commit is contained in:
Awilum
2020-02-05 16:22:01 +03:00
parent 9df584971a
commit 6079a6978b

View File

@@ -119,9 +119,9 @@ class EntriesController extends Controller
],
'buttons' => [
'create' => [
'link' => 'javascript:;',
'title' => __('admin_create_new_entry'),
'attributes' => ['class' => 'btn', 'data-toggle' => 'modal', 'data-target' => '#selectEntryTypeModal']
'link' => 'javascript:;',
'title' => __('admin_create_new_entry'),
'onclick' => 'event.preventDefault(); selectEntryType("", 0);'
]
]
]