Page 1 of 1

Missing Logout Button & Click Event ignored

Posted: Thu Oct 10, 2019 7:45 pm
by Timo
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.

Re: Missing Logout Button & Click Event ignored

Posted: Wed Oct 16, 2019 5:34 pm
by Timo
1) The logout button is missing on the new page. Can it be added?
Is there perhaps a way to add this missing logout button via Javascript?

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.
Is there any other way to open a form more than once so that it is displayed in different tabs?

Re: Missing Logout Button & Click Event ignored

Posted: Thu Oct 17, 2019 7:21 am
by kev1n
I posted a fix for 2) in January:

https://forums.nubuilder.cloud/viewtopic. ... ick#p18544


@Steven: Can this be included in the nuBuilder?

Re: Missing Logout Button & Click Event ignored

Posted: Thu Oct 17, 2019 5:42 pm
by Timo
Thank you kevin, works great to open a form several times!

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');
   }   
}
And yes, please add this patch to nuBuilder !

Do you have an answer for my first question?

Re: Missing Logout Button & Click Event ignored

Posted: Fri Oct 18, 2019 12:20 am
by admin
Guys,

It will be in the next Update.


Steven