Project

General

Profile

Actions

Bug #3846

closed

Delimiter field conditionals with linebreaks cause JS error

Added by krileon almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02 January 2013
Due date:
% Done:

100%

Estimated time:

Description

When you've a conditional on a delimiter field and it has linebreaks it causes a JS error due to JS not understanding linebreaks on a string. \n and \r need to be replaced as \\n and \\r to avoid this. This also needs to be done to the value input encase admin supplies something with a linebreak to match against.

https://www.joomlapolis.com/forum/153-professional-member-support/217887-user-edit-save-button-does-not-work#217906

Actions

Also available in: Atom PDF