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.
Hide apex-chart with button
-
- Posts: 366
- 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: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 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: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 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: 366
- 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: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact: