Refactor -> Format generates munges inline javascript
-----------------------------------------------------
Key: WOL-483
URL: http://issues.objectstyle.org/jira/browse/WOL-483
Project: WOProject/WOLips
Issue Type: Bug
Components: wolips
Affects Versions: 2.0.0.* (unreleased please specify)
Environment: osx 10.4.9/intel
Reporter: Joe Little
Inline javascript, when cleaned up from Xcode to Eclipse via the Refactor -> Format option, munges the javascript by separating long single-quoted lines into a format that fails to work on safari/firefox clients.
Example:
Pre-conversion:
function displayPopupWindow()
{
if ( !newWindow || newWindow.closed)
{
newWindow = window.open('<WEBOBJECT NAME=ActionURLPop></WEBOBJECT>', 'Admit', 'width=800,height=600,status=1,resizable=1,scrollbars=1')
}
}
Post Conversion:
function displayPopupWindow()
{
if ( !newWindow || newWindow.closed)
{
newWindow = window.open('
<webobject name = "ActionURLPop"></webobject>
', 'Admit', 'width=800,height=600,status=1,resizable=1,scrollbars=1')
}
}
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Wed Jun 13 2007 - 22:37:47 EDT