Project

General

Profile

Bug #5926

Collapsible Sections generate JavaScript error when toggled

Added by Bill Meeks over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
02/24/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3
Affected Architecture:
All

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

History

#2 Updated by Steve Beaver over 3 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.

#3 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF