diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index c8ce11de74..c2cb62d851 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -155,7 +155,14 @@ return ' ' + value.name + ' ' + text_help + ' '; } else if ((value) && (value.name)) { - return ' ' + value.name + ''; + + // Add some overrides for any funny urls we have + var dest = destination; + if (destination=='fieldsets') { + var dest = 'fields/fieldsets'; + } + + return ' ' + value.name + ''; } }; } @@ -166,10 +173,13 @@ var actions = ''; + // Add some overrides for any funny urls we have var dest = destination; + if (destination=='groups') { var dest = 'admin/groups'; } + if (destination=='maintenances') { var dest = 'hardware/maintenances'; }