Welcome to the nuBuilder Forums!
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.
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.
Hide apex-chart with button
-
- Posts: 377
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Hide apex-chart with button
I don't see the tab name. The form (browse) is not available - I don’t need it.
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: Hide apex-chart with button
Sure, a Launch table does not have a Browse Form.
The question remains, if there is no tab "Таблицы" visible on your form or if it has been removed somehow (using JavaScript) ?
The question remains, if there is no tab "Таблицы" visible on your form or if it has been removed somehow (using JavaScript) ?
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: Hide apex-chart with button
in nucommon.js, modify the line in the function nuShow();
Now:
Change to:
This ensures that no error is thrown if there are no tabs. For example, if they have been removed with nuRemoveHolders()
PS: This change is also on Github.
Now:
Code: Select all
if (openTab !== false && counter > 0) nuOpenTab($('.nuTabSelected')[0].id.substr(5));
Code: Select all
if (openTab !== false && counter > 0 && $('.nuTabSelected').length > 0) {
nuOpenTab($('.nuTabSelected')[0].id.substr(5));
}
PS: This change is also on Github.
-
- Posts: 377
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Hide apex-chart with button
Kevin, I'm sorry, I misled you by saying that I don't see the tab. It is hidden by the nuRemoveHolders() function. When you cancel it, errors disappear when accessing an HTML object simply by name.
I applied your solution with nucommon.js - the errors disappeared! Thank you !!!!!
I applied your solution with nucommon.js - the errors disappeared! Thank you !!!!!
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact: