Actions
Bug #12006
closedMissing semicolon in setJavaScriptMember followed by callJavaScript may cause JS issues
Start date:
10/06/2023
Due date:
% Done:
100%
Estimated time:
Description
When calling a setJavaScriptMember, followed by another JS call, like callJavascript. There is the potential for a JS error, if the member call isn't ended with a semi-colon, or the call isn't started with a semicolon.
If the order were reversed this could just as well be an issue.
Files
Actions
#6
Updated by Bruce MacDonald over 1 year ago
- File Picture1.png Picture1.png added
- File Picture2.png Picture2.png added
This appears to break my code. I get a popup with "Wt internal error; code: undefined, description: Unexpected token ';'"
Please see attached screenshots. I do not know how to dump the value of the "js" variable which presumably is causing the problem in eval(). If you let me know where to find instructions I can have a go at dumping it.
Actions