Fix for default parameters in JS functions IE (#8973)
* Small fix for IE which doesn't support default parameters in the function definition * Stylistic changes for better comprehension
This commit is contained in:
parent
382fb31670
commit
72f9fe444d
1 changed files with 5 additions and 1 deletions
|
@ -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>';
|
||||
|
|
Loading…
Add table
Reference in a new issue