#174 wrong use of parentElement in gecko

Version 2.x
closed-fixed
Editor (144)
5
2005-12-23
2005-11-09
No

in GetParentElement at internals\fckselection_gecko.js
it is used .parentElement to get up the dom, but this
is not a standard property, the correct one is .parentNode:

FCKSelection.GetParentElement = function()
{
if ( this.GetType() == 'Control' )
return FCKSelection.GetSelectedElement().parentNode ;
else
...

Discussion

  • Frederico Caldeira Knabben

    • assigned_to: nobody --> fredck
    • status: open --> open-fixed
     
  • Frederico Caldeira Knabben

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks