Skip to content

A free open source IT asset/license management system

Fix for default parameters in JS functions IE (#8973)

Ivan Nieto72f9fe444d19
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 7777c030b3..da8c4e30f3 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 = '<nobr>';