this.getParentElement is not a function

forresto - February 12, 2007 - 04:55
Project:Htmlarea
Version:5.x-2.0-beta2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Latest Drupal/HtmlArea/Xinha, and editing does not work. The editing bar is shown, and the html is rendered, but cannot be edited except for the text. This is the only error that shows in the console is

Error: this.getParentElement is not a function
Source File: http://dev.....com/modules/htmlarea/xinha/XinhaCore.js
Line: 1926

each time the cursor is clicked in the text area. Is there a version of xinha known to work with 5.x-2.0-beta2, or is this a different problem?

#1

dnagirl - February 14, 2007 - 19:31

I'm also getting this exact error and wanted to add that IE7 loses the border around the textarea, while Firefox does not.

this.getParentElement is not a function error occurs in XinhaCore.js lines 1153,1335,1732,1926 and 2264

#2

GiorgosK - February 14, 2007 - 23:33

Same thing here, I also downloaded the hotfix from the xinha site just in case it did anything

I am getting the same javascript error on the console, and the only things that work is direct text editing and image resizing in FF in IE only text editing

 
 

Drupal is a registered trademark of Dries Buytaert.