Community
Participate
Working Groups
In this code var serialForm = { dataOut: "", name: form.name, method: form.method, acceptCharset: form.acceptCharset, action: form.action, // TODO shouldn't we get a non-relative URL? enctype: form.enctype, cookie: this.dok.cookie, autocomplete: form.getAttribute("autocomplete"), bugNo: this.bugNo }; Eclipse claims there is a missing semicolon before the closing }
Created attachment 161237 [details] screenshot of the wrong behavior
I am having trouble reproducing this with the code snippet you included. What WTP build are you using? Are you able to reproduce with just this block? var serialForm = { dataOut: "", name: form.name, method: form.method, acceptCharset: form.acceptCharset, action: form.action, // TODO shouldn't we get a non-relative URL? enctype: form.enctype, cookie: this.dok.cookie, autocomplete: form.getAttribute("autocomplete"), bugNo: this.bugNo }; I know your image includes more code. Maybe we need a bit more context to reproduce.
Created attachment 161956 [details] example javascript program presenting the problem
OK, I am not able to reproduce the problem when I make a new file with just your snippet. Complete script which presents the problem is attached.
Thank you for the updated information and example.
Created attachment 179572 [details] screenshot of incorrect warning Still present in Version: 1.1.2.v200908101420-77-FGDCcNBDjBXMoBbFb Build id: 20100211202452
Created attachment 179573 [details] file where the error happens