diff --git a/public/viewjs/locale.js b/public/viewjs/locale.js deleted file mode 100644 index 975cbabd..00000000 --- a/public/viewjs/locale.js +++ /dev/null @@ -1,17 +0,0 @@ -$('#locale-save').on('click', function () { - var value = $("input:radio[name ='language']:checked").val(); - var jsonData = {'value': value}; - Grocy.Api.Put('user/settings/locale', jsonData, - function(result) - { - location.pathname = GetUriParam('returnto'); - }, - function(xhr) - { - if (!xhr.statusText.isEmpty()) - { - Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response) - } - } - ); -}); diff --git a/views/locale.blade.php b/views/locale.blade.php deleted file mode 100644 index 57fba91e..00000000 --- a/views/locale.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -@extends('layout.default') - -@section('title', $__t('Language')) -@section('activeNav', '') -@section('viewJsName', 'locale') - -@section('content') -
-
-

@yield('title')

-
-
-
-
-
- - -
-
-@endsection