Skip to content

Commit d5b4324

Browse files
author
mreishman
committed
fixed setup
1 parent cb4eb07 commit d5b4324

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/js/settingsAll.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
function saveAndVerifyMain(idForForm)
1+
var modiferUrl = "";
2+
3+
function saveAndVerifyMain(idForForm, modifier = "")
24
{
5+
modiferUrl = modifier;
36
idForFormMain = idForForm;
47
idForm = "#"+idForForm;
58
displayLoadingPopup();
@@ -28,7 +31,7 @@ function timerVerifySave()
2831
countForVerifySave++;
2932
if(countForVerifySave < 20)
3033
{
31-
var urlForSend = "core/php/saveFunctions/saveCheck.php?format=json";
34+
var urlForSend = modiferUrl+"core/php/saveFunctions/saveCheck.php?format=json";
3235
$.ajax(
3336
{
3437
url: urlForSend,

setup/welcome.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ function clean_url($url) {
5353
function defaultSettings()
5454
{
5555
//change setupProcess to finished
56-
saveAndVerifyMain("defaultVarsForm");
56+
saveAndVerifyMain("defaultVarsForm","../");
5757
}
5858

5959
function customSettings()
6060
{
6161
//change setupProcess to page1
62-
saveAndVerifyMain("defaultVarsForm");
62+
saveAndVerifyMain("defaultVarsForm","../");
6363
}
6464
</script>
6565
<script src="stepsJavascript.js"></script>

0 commit comments

Comments
 (0)