From 2f9829c302503f2bbbf48227ae95502814b50d60 Mon Sep 17 00:00:00 2001 From: Dione Batista Date: Thu, 26 Mar 2020 18:49:13 -0300 Subject: [PATCH] Correction of NUI Callback Correction for NUI Callback using the resource with the name of repository --- esx_kashacters/html/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esx_kashacters/html/js/app.js b/esx_kashacters/html/js/app.js index db2fa3f3..e01f864c 100644 --- a/esx_kashacters/html/js/app.js +++ b/esx_kashacters/html/js/app.js @@ -24,7 +24,7 @@ $(".character-box").click(function () { }); $("#play-char").click(function () { - $.post("http://esx_kashacters/CharacterChosen", JSON.stringify({ + $.post("http://esx_kashacter/CharacterChosen", JSON.stringify({ charid: $('.active-char').attr("data-charid"), ischar: $('.active-char').attr("data-ischar"), })); @@ -32,7 +32,7 @@ $("#play-char").click(function () { }); $("#deletechar").click(function () { - $.post("http://esx_kashacters/DeleteCharacter", JSON.stringify({ + $.post("http://esx_kashacter/DeleteCharacter", JSON.stringify({ charid: $('.active-char').attr("data-charid"), })); Kashacter.CloseUI(); @@ -69,4 +69,4 @@ $("#deletechar").click(function () { }) } -})(); \ No newline at end of file +})();