Jump to content

"There is no Default Javascript Object" on Terminate


hootchi

Recommended Posts

Hi all,

 

i am trying terminate session (UniSession.Terminate('') or UniMainModule.Terminate) in UniGUIMainModuleCreate if problem with connection to database, but now i am getting this error "There is no Default Javascript Object".

 

What is a problem? I cant break this exception :(

 

Thx

 

h.

Link to comment
Share on other sites

In my signature, uniGUI 0.98.0.1114. I did not have time to upgrade, but now i tried new project on same version and there is everything ok with terminating in UniGUIMainModuleCreate, problem I have, therefore, only one project.

 

I going to trace my source where is a problem. 

 

BTW, is this UniGUI error or Ext error?

 

// I now created new MainFormClass in problem project and no error, old Main form looks like wrong :(

 

Thx

 

h.

Link to comment
Share on other sites

  • 1 year later...
I am facing a problem when I use TMS Scripter for the runtime creation of some routines in which I need to create forms.
If in the form I'm creating using TMS Scripter if the FreeOnClose property = false, I do not get the error, however the form is not destroyed.

 

If freeonClose = True the described error occurs. Any idea what might cause the error? Version: 1.0.0.1407

 

There is no Default Javascript Object

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...