diff --git a/js/admin-dnd.js b/js/admin-dnd.js index d93df4416..2b219e041 100644 --- a/js/admin-dnd.js +++ b/js/admin-dnd.js @@ -25,7 +25,7 @@ */ $(document).ready(function() { - initTableDnD(); + initTableDnD(); }); function initTableDnD(table) diff --git a/js/admin.js b/js/admin.js index 6d0f360ef..132822824 100644 --- a/js/admin.js +++ b/js/admin.js @@ -855,7 +855,9 @@ function display_action_details(row_id, controller, token, action, params) { } current_element.data('dataMaped',true); current_element.data('opened', false); - initTableDnD('.details_'+id+' table.tableDnD'); + + if (typeof(initTableDnD) != 'undefined') + initTableDnD('.details_'+id+' table.tableDnD'); } }); }