HI,
I would like to open a form several times. There is the convenient function that allows you to open a form in a new tab by holding down the control key and clicking on a button.
¨
Two things I noticed:
1) The logout button is missing on the new page. Can it be added?
2) If I click the button again, nothing happens. Another tab should open. I think the reason is that nuStopClick(event); is added. But this should not be added when the Ctrl key is pressed.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Missing Logout Button & Click Event ignored
Re: Missing Logout Button & Click Event ignored
Is there perhaps a way to add this missing logout button via Javascript?1) The logout button is missing on the new page. Can it be added?
Is there any other way to open a form more than once so that it is displayed in different tabs?2) If I click the button again, nothing happens. Another tab should open. I think the reason is that nuStopClick(event); is added. But this should not be added when the Ctrl key is pressed.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Missing Logout Button & Click Event ignored
I posted a fix for 2) in January:
https://forums.nubuilder.cloud/viewtopic. ... ick#p18544
@Steven: Can this be included in the nuBuilder?
https://forums.nubuilder.cloud/viewtopic. ... ick#p18544
@Steven: Can this be included in the nuBuilder?
Re: Missing Logout Button & Click Event ignored
Thank you kevin, works great to open a form several times!
And yes, please add this patch to nuBuilder !
Do you have an answer for my first question?
Code: Select all
// FIX: Ctrl + clicking a button will not disable the click event
function nuStopClick(e){
if(window.nuCLICKER != '' && e.ctrlKey == false ){
$(e.target).prop('onclick',null).off('click');
}
}
Do you have an answer for my first question?