Skip to content
Snippets Groups Projects
Commit 80e81b47 authored by Artur Kunz's avatar Artur Kunz :dragon_face:
Browse files

Schönheitsoperation an der JSON Funtion

parent c634c2c3
No related branches found
No related tags found
No related merge requests found
...@@ -23,10 +23,7 @@ ...@@ -23,10 +23,7 @@
var payload = { room_code: this.room_code, user_name: this.user_name }; var payload = { room_code: this.room_code, user_name: this.user_name };
//Es wird eine JSON Anfrage mit den Login Daten gesendet. //Es wird eine JSON Anfrage mit den Login Daten gesendet.
//Falls die Anfrage erfolgreich war, wird der neue Content geladen, sonst eine Fehlermeldung angezeigt. //Falls die Anfrage erfolgreich war, wird der neue Content geladen, sonst eine Fehlermeldung angezeigt.
AJAX_JSON("{{=URL('player', 'create')}}", payload, function ( AJAX_JSON("{{=URL('player', 'create')}}", payload, function (_code, _data) {
_code,
_data
) {
switch (_code) { switch (_code) {
case 200: case 200:
content_reload(); content_reload();
......
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