wallacepos icon indicating copy to clipboard operation
wallacepos copied to clipboard

App starting before initializing dialogs?

Open jppmo opened this issue 6 years ago • 0 comments

Hello there, javascript was throwing me an error everytime a dialog was opened.

Uncaught Error: cannot call methods on dialog prior to initialization; attempted to call method 'open'

I tried to fix it but I'm not sure if it's the right way to do it.

What I did was I moved line 1511 in core.js

WPOS.initApp();

to the end of the function it's in, after all the dialog initialization.

Any help would be appreciated, thanks in advance!

jppmo avatar Apr 03 '18 15:04 jppmo