Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
I noticed that If I just press the tab in the nuTabHolder of the edit form it activates nuShow('button_save');
How to exclude tabs from from this script.
I was checking with .not('tab') , nutab, nutabs, nutabholder, and some more but could not identify the proper name for tab.
Tabs are not included in the selection because their parent is not nuRECORD ( $("#nuRECORD").find(.... ). There must be another reason why the button becomes visible.
If I have a button on the form with this code, it will not become visible when I click on a tab. So I can't reproduce it like this.
I was using following function to hide the button: $('#button_save').hide();
when I replaced it by: nuHide('button_save');
it started to work proprerly
By the way I noticed that object names are global - initially I thought that local (I am using button_save name on every form)
So if following function is defined in one form then it seems to be seen by the objects from other forms if the ID is the same (but still investigating it more)