1 2 Previous Next 17 Replies Latest reply on Oct 11, 2016 3:54 PM by beverly

    Debug Web Viewer in WebDirect

    f.i.sciences

      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

        1 2 Previous Next