Skip to content

Commit 8eb5bf8

Browse files
Update web-forms.js
Fixing the status check problem in sync conditions.
1 parent 1196be2 commit 8eb5bf8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web-forms.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,13 +1338,13 @@ function cb_SetWebFormsValues(evt, RequestName, WebFormsValues, UsePostBack, Wit
13381338

13391339
if (ConditionPeriodMiliSecond == 0)
13401340
{
1341-
while (!cb_CheckCondition(evt, WebFormsList[i]))
1341+
while (!cb_CheckCondition(evt, WebFormsList[i].substring(1)))
13421342
{
13431343
}
13441344
ConditionIsTrue = true;
13451345
}
13461346
else if (ConditionPeriodMiliSecond == -1)
1347-
ConditionIsTrue = cb_CheckCondition(evt, WebFormsList[i]);
1347+
ConditionIsTrue = cb_CheckCondition(evt, WebFormsList[i].substring(1));
13481348
continue;
13491349

13501350
case '_':
@@ -4413,7 +4413,7 @@ function cb_SaveValueExtension(evt, ActionOperation, ActionFeature, Name, Curren
44134413
switch (ActionFeature)
44144414
{
44154415
case '0': cb_SetStorage(true, Name, "Hello saved in local storage"); break;
4416-
case '1': cb_SetStorage(false, Name, "Hello saved in session storage"); break;
4416+
case '1': cb_SetStorage(false, Name, "Hello saved in session storage");
44174417
}
44184418
}
44194419
}

0 commit comments

Comments
 (0)