Actions
Bug #7787
closedIPsec widget, JS error in background when switching tabs, Cannot read property 'style' of null
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
08/20/2017
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
amd64
Description
While changing tabs on the ipsec widget.
With 1 inactive tunnel, and no mobile ipsec configured. I get the following errors.
changeTabDIV @ index.php:408
onclick @ index.php:347
index.php:420 Uncaught TypeError: Cannot read property 'style' of null
at changeTabDIV (index.php:420)
at HTMLDivElement.onclick (index.php:347)
changeTabDIV @ index.php:420
onclick @ index.php:347
index.php:408 Uncaught TypeError: Cannot read property 'style' of null
at changeTabDIV (index.php:408)
at HTMLDivElement.onclick (index.php:347)
Updated by Anonymous over 8 years ago
- Assignee set to Anonymous
Would you post the exact software version you tested with please?
Updated by Pi Ba over 8 years ago
2.4.0-BETA (amd64)
built on Fri Aug 18 00:32:41 CDT 2017
FreeBSD 11.0-RELEASE-p11
Updated by Anonymous over 8 years ago
If no mobile clients are configured, no mobile DIV was being displayed, hence the null. The DIV is now always generated, but populated with an error message. Looks like this was a long-standing thing.
Updated by Anonymous over 8 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 75863a79705fccce21b7e0d0312ce1ef0b0985be.
Updated by Pi Ba over 8 years ago
I can confirm the issue is fixed with the change applied.
Actions