[ 
https://issues.apache.org/jira/browse/WOOKIE-178?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel\#worklog-{worklog.getId()}
 ]

Scott Wilson logged work on WOOKIE-178:
---------------------------------------

                Author: Scott Wilson
            Created on: 15/Feb/11 2:45 PM
            Start Date: 15/Feb/11 2:45 PM
    Worklog Time Spent: 2h 

Issue Time Tracking
-------------------

            Worklog Id:     (was: 11264)
            Time Spent: 2h
    Remaining Estimate: 0h

> Result of widget.getWidgetTitle() can sometimes contain html span tags which 
> may upset javascript code in jsps
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: WOOKIE-178
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-178
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Web Admin
>    Affects Versions: 0.9.1
>         Environment: Windows Vista sp2 firefox & Ie 8
>            Reporter: Paul Sharples
>            Assignee: Paul Sharples
>            Priority: Trivial
>             Fix For: 0.9.1
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The call to widget.getWidgetTitle() can result in the returned string 
> containing HTML span tags
> <span style="unicode-bidi:embed; direction:ltr">You decide</span>
> Normally this would not be a problem, but there are instances where the 
> result of that function call is passed to a javascript function within a jsp. 
>  The jsps then have UI problems. As a temporary measure the code has been 
> altered for 0.9.x so that the javascript functions receive only an empty 
> string.(the value is only used in an alert box anyway)  An improvement would 
> be to parse the result of the above function call and extract the text. 'You 
> decide' and pass that to the javascript code.
> See jsp pages webcontent/admin/listall.jsp and 
> webcontent/admin/listallfordelete.jsp

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to