Bug #5926
closedCollapsible Sections generate JavaScript error when toggled
0%
Description
When you manually click on the icon to collapse a "collapsible SECTION" within the new Bootstrap framework, you receive a JavaScript error as follows:
'updateWidgets' is undefined
You only see this error when you have JavaScript debugging enabled in the browser. The error is thrown from the pfSenseHelpers.js module at line 464 when a call to updateWidgets() is attempted. The collapsing action succeeds, but the error is recorded when debugging is on.
I am using collapsible sections on some pages in the new Snort package update for Bootstrap, and this error is thrown when either manually collapsing a section using the minus ("-") icon or via jQuery methods.
Bill Meeks
Updated by NOYB NOYB over 8 years ago
PR Submitted
https://github.com/pfsense/pfsense/pull/2686
Updated by Anonymous over 8 years ago
- Status changed from New to Feedback
- Assignee set to Bill Meeks
- Target version set to 2.3
Fixed in https://git.pfmechanics.com/pfsense/pfsense/commit/c24d39e07edce207537910e5424d3d178fb506cb
The updateWidgets call is no longer required since the widget state is saved via the save icon in the breadcrumbs bar. It was suggested that users typically open a widget to check something, then close it again so don't want to be bothered with a modal "save dashboard layout" control every time they do that.
Updated by Chris Buechler over 8 years ago
- Status changed from Feedback to Resolved