diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 7777c030b..da8c4e30f 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -175,7 +175,11 @@ // Make the edit/delete buttons - function genericActionsFormatter(owner_name, element_name = '') { + function genericActionsFormatter(owner_name, element_name) { + if (!element_name) { + element_name = ''; + } + return function (value,row) { var actions = '';