This commit is contained in:
Edi
2019-06-21 06:43:29 +02:00
parent a2f9f3404f
commit 6afd445265
4 changed files with 79 additions and 90 deletions
+3 -3
View File
@@ -36,15 +36,15 @@
$("button").click(function(){
if ($(this).text()==="lookaroundintent")
{
$.post("https://medinf.efi.th-nuernberg.de/tomcat/WebAdventure/Logic?intent=lookaroundintent");
$.post("https://medinf.efi.th-nuernberg.de/tomcat/WebAdventure/IO?intent=lookaroundintent");
}
else if ($(this).text()==="examineintent")
{
$.post("https://medinf.efi.th-nuernberg.de/tomcat/WebAdventure/Logic?intent=examineintent");
$.post("https://medinf.efi.th-nuernberg.de/tomcat/WebAdventure/IO?intent=examineintent");
}
else
{
$.post("https://medinf.efi.th-nuernberg.de/tomcat/WebAdventure/Logic?intent="+$(this).text()+"&slot="+replaceUml($("#itemList :selected").text()));
$.post("https://medinf.efi.th-nuernberg.de/tomcat/WebAdventure/IO?intent="+$(this).text()+"&slot="+replaceUml($("#itemList :selected").text()));
}
});