Project

General

Profile

Actions

Bug #5724

closed
PB PB

Phase1 checkboxes on vpn_ipsec.php cannot be checked by clicking on them & missing row_toggle.js javascript

Bug #5724: Phase1 checkboxes on vpn_ipsec.php cannot be checked by clicking on them & missing row_toggle.js javascript

Added by Pi Ba over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
IPsec
Target version:
Start date:
01/02/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
amd64

Description

on Chrome Phase1 checkboxes on vpn_ipsec.php cannot be checked by clicking on them & missing row_toggle.js javascript

Error in console for loading: vpn_ipsec.php:203 GET /javascript/row_toggle.js
p.s. The whole javascript folder gets deleted on every (daily) automatic snapshot upgrade.. is that supposed to happen?

Updated by Anonymous over 10 years ago Actions #1

Yes, it is supposed to delete the old javascript folder. Nothing in there should be required by 2.3.x.
fr_toggle() and friends are now in jQuery/pfSenseHelpers.js
I'll look at the checkbox toggle matter shortly.

PB Updated by Pi Ba over 10 years ago Actions #2

The missing /javascript/ folder i noticed mostly because of haproxy package that also placed a javascript file there, that got deleted on regular basis.. I suppose ill move it to a different folder.. www/haproxy/ or something like that.

Updated by Anonymous over 10 years ago Actions #3

  • Status changed from New to Feedback
  • Assignee set to Pi Ba
  • Target version set to 2.3

fr_toggle() had been added to both the row and the cell causing it to toggle twice, and so appear not to toggle at all.

Updated by Anonymous over 10 years ago Actions #4

  • % Done changed from 0 to 100

Applied in changeset commit:5ab32eac0795a18551b96ceb2de9e95ad04b1661.

PB Updated by Pi Ba over 10 years ago Actions #5

Confirmed fixed, thanks.

Updated by Anonymous over 10 years ago Actions #6

  • Status changed from Feedback to Resolved

PC Updated by Pedro Caetano over 10 years ago Actions #7

Everything seems to work ok, but i'm still observing similar messages in system logs:
It happens every time /vpn_ipsec.php is accessed.
It is also visible while applying changes to phase1 / phase2 settings.

I'm running 2.3.b.20160109.1400

My browser is mozilla firefox 43.0.3 on fc23 64bit.

Best regards,
Pedro Caetano

PC Updated by Pedro Caetano over 10 years ago Actions #8

missing logs are here:
nginx: 2016/01/10 19:22:03 [error] 84391#0: *91 open() "/usr/local/www/javascript/row_toggle.js" failed (2: No such file or directory), client: 172.24.32.5, server: , request: "GET /javascript/row_toggle.js HTTP/1.1", host: "10.192.22.131", referrer: "https://10.192.22.131/vpn_ipsec.php"

CB Updated by Chris Buechler over 10 years ago Actions #9

Thanks Pedro, I removed the reference to that obsoleted file.

Actions

Also available in: Atom