Opened 13 years ago

Closed 11 years ago

#7234 closed Bug (expired)

"G.getFirst().hasAttribute is not a function"

Reported by: SunboX Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.1
Keywords: Cc: gav@…

Description

Im using CKEditor 3.5.1 together with mootools 1.3 (on the same page).

I get an error "G.getFirst().hasAttribute is not a function". I have formated ckeditor.js:

http://jsfiddle.net/LFDQD/

Now i get the right line:

Line: 11912

if I rewrite this line with:

if (!H
H == 1 && G.getFirst().hasAttribute && G.getFirst().hasAttribute('_moz_editor_bogus_node')) {

all works great.

I´m using Firefox 3.6.13 on Windows Vista

Change History (4)

comment:1 Changed 13 years ago by George Vilches

Cc: gav@… added

comment:2 Changed 13 years ago by Krzysztof Studnik

Keywords: HasPatch? added

comment:3 Changed 12 years ago by Jakub Ś

Keywords: HasPatch? removed
Status: newpending

Any chance for a reduced test case file showing the problem?
Can this be reproduced only with mootools and CKEditor but without your application?

comment:4 Changed 11 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy