Skip to content

Commit 7d23b57

Browse files
authored
Merge pull request #207 from mreishman/3.4.1
3.4.1.1b
2 parents 3efb6f0 + 850218d commit 7d23b57

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

core/html/changelog.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<li>
99
Fixed setup bug
1010
</li>
11+
<li>
12+
Fixed bug with cache status missing on initial load causing errors
13+
</li>
1114
</ul>
1215
</li>
1316
</ul>

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,

index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
require_once($baseUrl.'conf/config.php');
2525
require_once('core/conf/config.php');
2626
require_once('core/php/configStatic.php');
27+
$cachedStatusMainObject = array();
2728
if(file_exists('core/conf/cachedStatus.php'))
2829
{
2930
require_once('core/conf/cachedStatus.php');

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)