Skip to content

A free open source IT asset/license management system

Removed duplicate locale directive

snipe96be1e127578
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index c908adcaae..4e34918a79 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -9,7 +9,7 @@
<script nonce="{{ csrf_token() }}">
$(function () {
- var locale = '{{ config('app.locale') }}';
+ var locale = '{{ app()->getLocale() }}';
var blockedFields = "searchable,sortable,switchable,title,visible,formatter,class".split(",");
var keyBlocked = function(key) {
@@ -46,7 +46,6 @@
stickyHeader: true,
stickyHeaderOffsetLeft: parseInt($('body').css('padding-left'), 10),
stickyHeaderOffsetRight: parseInt($('body').css('padding-right'), 10),
- locale: '{{ app()->getLocale() }}',
undefinedText: '',
iconsPrefix: 'fa',
cookieStorage: '{{ config('session.bs_table_storage') }}',