improve: Drag & Drop (work in progress)

fix: - Axios: login error msg
This commit is contained in:
Paolo Arena
2019-02-20 11:53:56 +01:00
parent 1eca13c27f
commit 6a99f22bf3
21 changed files with 263 additions and 133 deletions

View File

@@ -240,8 +240,8 @@
let my = this.getLangAtt()
// this.$q.notify('prima: ' + String(my))
let mylang = localStorage.getItem(rescodes.localStorage.lang)
if (mylang === null)
let mylang = rescodes.getItemLS(rescodes.localStorage.lang)
if (mylang === '')
{
if (navigator) {
mylang = navigator.language
@@ -252,7 +252,7 @@
console.log('IMPOSTA LANGMY', mylang)
}
if (mylang !== null) {
if (mylang !== '') {
if (mylang.toLowerCase() === 'enus')
mylang = 'enUs'
if ((mylang.toLowerCase() === 'eses') || (mylang.toLowerCase() === 'es-es'))