AnsweredAssumed Answered

Debug Web Viewer in WebDirect

Question asked by f.i.sciences on Oct 10, 2016
Latest reply on Oct 11, 2016 by beverly

Hello,

 

I have a Web Viewer working perfectly in FMP.

But I soon as I open it with WebDirect, it's not working (blank screen).

 

So I try to 'Inspect it' to see the error (right click in the Web Viewer and select the last choice in contextual menu).

The error is there but the code is all written on one line (all carriage return removed).

     "SyntaxError: Unexpected keyword 'var'. Expected ';' after variable declaration."

This make it impossible to debug (see picture).

I have double check the content of the Web Viewer and all carriage return are OK.

 

Any clue?

 

Note: There is not C++ style comment (// ... ), only C style comment (/* ... */) used.

Plancher_Bois_Franc_2000__SRV-WEB_.jpg

Outcomes