wallacepos
wallacepos copied to clipboard
App starting before initializing dialogs?
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!