#319 fix XPath to evaluate on the correct document

closed-fixed
Editor (144)
5
2006-12-14
2006-11-28
No

This is the patch for Bug https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1604301&group_id=75348 which was rejected, but it really is a bug in FCKeditor :)
We need to call the evaluate() Method of the document the node is in, which in this case is this.EditorDocument and not "document".
This was bugged in Gecko <= 1.8 and is now fixed in Gecko >= 1.9.
I also replaced the XPathResultType argument with its corresponding constant which should be easier to understand than a simple number.

Discussion

  • Arpad Borsos

    Arpad Borsos - 2006-11-28

    patch

     
  • Alfonso Martinez

    • assigned_to: nobody --> alfonsoml
    • status: open --> closed-fixed
     
  • Alfonso Martinez

    Logged In: YES
    user_id=1356422
    Originator: NO

    This patch, or a similar implementation, has been included in
    FCKeditor and has been committed in the SVN. It will be available
    in the next release.

    For more information about the FCKeditor SVN system, please use
    the following URL:
    http://wiki.fckeditor.net/SVN

    ----
    http://www.fckeditor.net
    "Support Open Source Software"

    PS.: This is a canned response.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks