Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2045 Zobrazení

I need a JavaScript example / method to reload point_of_sale if POS session state is closed.

For example, if (this.env.pos.pos_session.state == 'closed')

reload()

any help will be greatly appreciated.



Avatar
Zrušit
Nejlepší odpověď

Hi,


Try this 

if (this.env.pos.pos_session.state === 'closed') {

    window.location.reload();

}


Hope it helps


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 23
2935
1
kvě 25
8245
0
dub 15
6474
0
lis 23
38
1
lis 23
1609