This commit is contained in:
2026-04-07 07:47:12 +02:00
parent 1aa4193039
commit abd86e7d2c
7 changed files with 194 additions and 17 deletions

View File

@@ -180,7 +180,7 @@ function ulozitKatalog() {
})
data = {"security_token":"jebatceckyhajzel", "akce":"nahraj", "katalog": katalog}
url = "http://localhost/skripty/katalog.php"
url = "https://drevoprodej-benes.cz/skripty/katalog.php"
dataType = "json"
$.ajax({
@@ -263,7 +263,7 @@ function vyrobPolozku(nazev, cena, mj, rozmery, cenadph = -1, cenaks = -1) {
}
function nactiKatalogy() {
url = "http://localhost/skripty/katalog.php"
url = "https://drevoprodej-benes.cz/skripty/katalog.php"
$.ajax({
type: "POST",
url: url,
@@ -329,7 +329,7 @@ function naplnitKatalog() {
let katalog;
data = {"security_token":"jebatceckyhajzel", "akce":"obsah", "soubor": $("#fileSelect :selected").val()}
url = "http://localhost/skripty/katalog.php"
url = "https://drevoprodej-benes.cz/skripty/katalog.php"
dataType = "json"
$.ajax({
@@ -363,7 +363,7 @@ function vystavitKatalog() {
}
data = {"security_token":"jebatceckyhajzel", "akce":"zverejni", "soubor": soubor}
url = "http://localhost/skripty/katalog.php"
url = "https://drevoprodej-benes.cz/skripty/katalog.php"
dataType = "json"
$.ajax({