When viewing a window in Webdesk you see a blank page

Version 7

    Environment:

    7.3.1 Webdesk

     

    Review Date:

    29/09/2014

     

    Problem:

    Sometimes when viewing a window in  Webdesk you see a blank page. At the bottom of the taskbar there is a notification "Done but with errors on page." Clicking on this displays the following error:

     

    Line 117
    Char: 125
    Error: Expected '}'
    code: 0
    URL : http://localhost/Webdesk/Object/InvokeFunction.rails

    blank.pngblank2.png

    Cause

     

    There is a label on the window containing an apostrophe (' )

     

    Solution / Workaround:

    Remove the apostrophe and the page will now be displayed