Logic Machine Forum
PIN Pad always in Front possible? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: PIN Pad always in Front possible? (/showthread.php?tid=3591)



PIN Pad always in Front possible? - Habib - 28.09.2021

I have a visualisation page that I want to protect with a PIN code. To do this, I have activated the PIN code in the structure settings. If the customer accidentally taps next to the PIN pad, the entire content disappears and can only be retrieved by refreshing the page. However, this option is not available on the display. How can I always keep the PIN pad in the foreground?

I've made a short clip to demonstrate what I mean...




Thx for your help


RE: PIN Pad always in Front possible? - admin - 28.09.2021

Add to Custom JavaScript:
Code:
$(function() {
  $('.modal-backdrop').off('vclick');
});



RE: PIN Pad always in Front possible? - Habib - 28.09.2021

Wow, that was fast. Thank you :-))

It works but not finaly solved my problem. If the user now taps the "X"-Button it's the same issue than before. Can I delete or deactivate that button as next?




RE: PIN Pad always in Front possible? - admin - 28.09.2021

Try this:
Code:
$(function() {
  $('.modal-backdrop').off('vclick');
  $('.control-pincode .btn-cancel').css('visibility', 'hidden');
});



RE: PIN Pad always in Front possible? - Habib - 28.09.2021

(28.09.2021, 09:49)admin Wrote: Add to Custom JavaScript:
Code:
$(function() {
  $('.modal-backdrop').off('vclick');
});

(28.09.2021, 10:37)admin Wrote: Try this:
Code:
$(function() {
  $('.modal-backdrop').off('vclick');
  $('.control-pincode .btn-cancel').css('visibility', 'hidden');
});

That is great :-) it works how I need... many thx