(Note. I am checking this change in.)
Change philip-20110713-4mj by philip@PHILIP-I7 on 2011-07-13 20:21:37
EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: SWF: Fix json decoding
New Features:
Bugs Fixed: LPP-9983
Technical Reviewer: (pending)
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
The call to JSON.parse() was failing because a naked string is not valid
json. I added code to look at the first character and then turn the
string into an array. After parsing, the first result is returned as the
string.
The iframemanager.js is an unrelated changed to handle percentage
values. This is currently disabled in html.lzx. There is also a few
changes in html.lzx which are related to this, but are disabled.
Tests:
See the test case in jira.
Files:
M lps/components/extensions/html.lzx
M lps/includes/source/iframemanager.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/philip-20110713-4mj.tar