Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2099 Vizualizări

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.



Imagine profil
Abandonează
Cel mai bun răspuns

Hi,


Try this 

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

    window.location.reload();

}


Hope it helps


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 23
3005
1
mai 25
8310
0
apr. 15
6536
0
nov. 23
38
1
nov. 23
1672