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...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...