delphi - DoMap in AfterPageLoaded throws exception when no internet connection -


when there no internet connection or connection poor after 60-70 sec ie style dialog box appears message:

script error google not defined 

pressing yes or no afterpageloaded fires , dialog appears again. pressing yes or no again memory exception thrown in tgmmap.executescript function @ following line:

win2.execscript(namefunct + '(' + params + ')', 'javascript') 

i can reproduce megademo project well. i'm using d6.
how can test script initialized correctly in afterpageloaded function , not call domap?

thanks in advance.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -