jsclient Template and Omnis Licences
Terence J. young, DC
terry.young at journeymhc.org
Tue Jul 15 20:48:01 EDT 2014
Hi Gavin
Thank you for the info.
terry
On 7/15/14, 11:35 AM, Gavin Foster wrote:
> Hi $all,
>
> Just jotting this here in case anyone hits the same problem I did.
>
> Using OSX 10.9.4 Mavericks and Safari 7.0.5
> Every time I hit ‘Test Form…’ Omnis used up a licence.
> When I closed the browser window, the licence was not freed.
> Reason: the remote form and task instances remained open in Omnis, visible in the Notation Inspector $iremotetasks and $iremoteforms.
>
> Solution is to edit your htm file as follows. Add the following:
> onbeforeunload="jOmnis.onUnload()”
>
> Result:
> <body onload="jOmnis.onLoad()" onunload="jOmnis.onUnload()" onbeforeunload="jOmnis.onUnload()" style="margin:0;overflow:auto”>
>
>
> You need to make this change to the jsctempl.htm file in the ‘html’ subdirectory in the Omnis package.
> That will be reflected in every .htm test file.
> If you use your own .htm file, you will probably need to add this to prevent Safari users eating your licences.
>
>
> Regards
> Gav
>
> Don’t forget to book for Euromnis.
> http://www.euromnis.com
> Euromnis 19th - 24th October 2014_____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list