File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 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 ,
Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments