Skip to main content

Bug Tracker

Side navigation

#14360 closed bug (duplicate)

Opened September 13, 2013 12:31PM UTC

Closed September 13, 2013 01:37PM UTC

parseJSON gives error with unobstusive validation

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9rc1
Keywords: Cc:
Blocked by: Blocking:

Line 540 :

if ( window.JSON && window.JSON.parse ) {

return window.JSON.parse( data );


Problem : because data is undefined it gives us an error.

solution : check if data is undefined if yes return null before the native json parse check

Attachments (0)
Change History (1)

Changed September 13, 2013 01:37PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #13430.