6.0.0-beta1
7/4/25

[#12037] JavaScript error caused by Horde::popupJs()
Summary JavaScript error caused by Horde::popupJs()
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester azurit (at) pobox (dot) sk
Created 02/12/2013 (4525 days ago)
Due
Updated 02/12/2013 (4525 days ago)
Assigned 02/12/2013 (4525 days ago)
Resolved 02/12/2013 (4525 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/12/2013 09:01:27 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit d77cfccfe0e6e3065038fdc9bafee3317bf6912c
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Feb 12 14:34:43 2013 -0700

     [mms] Fix encoding of JSON parameters to Horde::popupJs() (Bug #12037).

     Need to double encode the data so that the JSON is properly parsed on
     the browser.

  framework/Core/lib/Horde.php |    4 +++-
  framework/Core/package.xml   |    2 ++
  2 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/d77cfccfe0e6e3065038fdc9bafee3317bf6912c
02/12/2013 09:01:21 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
Summary ⇒ JavaScript error caused by Horde::popupJs()
State ⇒ Resolved
Reply to this comment
Horde_Core 2.2.1.
02/12/2013 08:58:57 PM Michael Slusarz Comment #2
State ⇒ Assigned
Queue ⇒ Horde Framework Packages
Version ⇒ Git master
Reply to this comment
Horde_Core issue.
02/12/2013 04:04:09 PM azurit (at) pobox (dot) sk Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ JavaScript error
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
In basic mode, when opening a message and clicking on any address in 
header (to open a new compose window), nothing happens and this JS 
error is displayed if address has double-quotes (") in it:

Error: SyntaxError: JSON.parse: expected ',' or '}' after property 
value in object
Source File: /js/prototype.js?v=7518defebaf976cab73da94a232a89b6
Line: 743

Example of problematic address:
"something" <name@domain.tld>

Saved Queries