mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Removed duplicate locale directive
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
8ce17d0585
commit
96be1e1275
|
@ -9,7 +9,7 @@
|
||||||
<script nonce="{{ csrf_token() }}">
|
<script nonce="{{ csrf_token() }}">
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
var locale = '{{ config('app.locale') }}';
|
var locale = '{{ app()->getLocale() }}';
|
||||||
var blockedFields = "searchable,sortable,switchable,title,visible,formatter,class".split(",");
|
var blockedFields = "searchable,sortable,switchable,title,visible,formatter,class".split(",");
|
||||||
|
|
||||||
var keyBlocked = function(key) {
|
var keyBlocked = function(key) {
|
||||||
|
@ -46,7 +46,6 @@
|
||||||
stickyHeader: true,
|
stickyHeader: true,
|
||||||
stickyHeaderOffsetLeft: parseInt($('body').css('padding-left'), 10),
|
stickyHeaderOffsetLeft: parseInt($('body').css('padding-left'), 10),
|
||||||
stickyHeaderOffsetRight: parseInt($('body').css('padding-right'), 10),
|
stickyHeaderOffsetRight: parseInt($('body').css('padding-right'), 10),
|
||||||
locale: '{{ app()->getLocale() }}',
|
|
||||||
undefinedText: '',
|
undefinedText: '',
|
||||||
iconsPrefix: 'fa',
|
iconsPrefix: 'fa',
|
||||||
cookieStorage: '{{ config('session.bs_table_storage') }}',
|
cookieStorage: '{{ config('session.bs_table_storage') }}',
|
||||||
|
|
Loading…
Reference in a new issue