View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04887Bug reportsData Entry (non public)public2011-01-25 12:43
Reporterfabiin Assigned Totpartner  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Summary04887: HTML To integrate JS POPUP window in question help badly modified when saving question
Description

When using HTML to make a popup open when clicking on a link (using FCKEditor)
The HTML Code is modified when saving question.

Here the code before saving :

<a href="http://tralala" onclick="window.open(this.href,'popup_test','resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=300,height=200,status'); return false">Test link</a>

The code after saving :

<a on=""><x>click="window.open(this.href,'popup_test','resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=300,height=200,status'); return false" href="http://tralala&quot; _fcksavedurl="http://tralala&quot;&gt;Test link</x></a>

Steps To Reproduce
  1. Create a dumb question with content in help text field.
  2. Add popup link using the FCKEditor toolbar
    • Select text from help field.
    • Click "link" button in FCKEditor toolbar (a popup should appear)
    • Enter URL
    • In second tab : select popup, enter popup name (ex: popup_test) enter height and width.
    • Click ok
  3. Save question
  4. Re-enter to the question, the HTML is modified.
Additional Information

This does not occur with simple link (no popup)

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedNo
BrowserFirefox 3.6.13
Database type & versionMySQL
Server OS (if known)GNU/Linux 2.6.28
Webserver software & version (if known)Apache 2
PHP Version5.2.17

Users monitoring this issue

fabiin

Activities

tpartner

tpartner

2011-01-21 15:19

partner   ~13949

fabiin, did you disable the XSS filter in Global Settings -> Security?

fabiin

fabiin

2011-01-25 12:25

reporter   ~13961

Ok, it was juste that.
Sorry for the inconvenience.

tpartner

tpartner

2011-01-25 12:42

partner   ~13962

No problem :)

Issue History

Date Modified Username Field Change
2011-01-20 17:48 fabiin New Issue
2011-01-21 15:19 tpartner Note Added: 13949
2011-01-21 15:19 tpartner Assigned To => tpartner
2011-01-21 15:19 tpartner Status new => feedback
2011-01-25 12:25 fabiin Note Added: 13961
2011-01-25 12:25 fabiin Status feedback => assigned
2011-01-25 12:26 fabiin Issue Monitored: fabiin
2011-01-25 12:42 tpartner Note Added: 13962
2011-01-25 12:42 tpartner Status assigned => resolved
2011-01-25 12:42 tpartner Resolution open => fixed
2011-01-25 12:43 tpartner Status resolved => closed
2021-08-10 04:37 guest Bug heat 4 => 6