Skip to content
Snippets Groups Projects
Commit 97d70e93 authored by Aria Givi's avatar Aria Givi
Browse files

Fehler behoben wodurch der LöschenButton nicht angezeigt wurde, Englisch und Spanisch hinzugefügt

parent 3cc21a4a
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -243,9 +243,9 @@ function showFocusCreateDialog (id) {
} catch (ex) {
console.error(ex);
}
} else {
toggleDeleteButton();
}
toggleDeleteButton();
}
/**
* Shows the focus create dialog for a given id
......@@ -297,7 +297,17 @@ function saveFocus () {
$('#create-focus-modal').modal('hide');
}
} else {
alert('Bitte mindestens 1 Suchmaschine auswählen');
switch(document.documentElement.lang) {
case 'en':
alert('Please select at least 1 search engine.');
break;
case 'es':
alert('Por favor, seleccione al menos un motor de búsqueda.');
break;
default:
alert('Bitte mindestens 1 Suchmaschine auswählen.');
break;
}
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment