Skip to content
Snippets Groups Projects
Commit 9b8c6cd1 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 f72d77d7
No related branches found
No related tags found
3 merge requests!1061Development,!1043Development,!1025Resolve "Fokus-Löschen-Knopf macht nichts bei neuen Foki"
...@@ -243,9 +243,9 @@ function showFocusCreateDialog (id) { ...@@ -243,9 +243,9 @@ function showFocusCreateDialog (id) {
} catch (ex) { } catch (ex) {
console.error(ex); console.error(ex);
} }
} else {
toggleDeleteButton();
} }
toggleDeleteButton();
} }
/** /**
* Shows the focus create dialog for a given id * Shows the focus create dialog for a given id
...@@ -297,7 +297,17 @@ function saveFocus () { ...@@ -297,7 +297,17 @@ function saveFocus () {
$('#create-focus-modal').modal('hide'); $('#create-focus-modal').modal('hide');
} }
} else { } 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