Ticket #7234 (closed Bug: expired)

Opened 4 years ago

Last modified 2 years ago

"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

comment:1 Changed 4 years ago by gav

  • Cc gav@… added

comment:2 Changed 4 years ago by krst

  • Keywords HasPatch? added

comment:3 Changed 2 years ago by j.swiderski

  • Keywords HasPatch? removed
  • Status changed from new to pending

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 2 years ago by j.swiderski

  • Status changed from pending to closed
  • Resolution set to expired
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy