Ticket #4641 (closed Bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

Drop down box dont work: Create and destroy editor instances for Ajax applications

Reported by: undertruck Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0.1
Keywords: Cc: undertruck

Description

When an editor instance is created , destroyed and recreated, then dropdown boxes in 'font', 'style', 'size' etc. don't work. It also happens in sample demo 'ajax.html' attached with the download. It happens on FF, IE6, 7..

I'm getting following error:

this.$ is undefined on line

"else if(k.$.attachEvent)k.$.attachEvent(....previousSibling.nodeType==3)continue;\r\n" in ckeditor.js

==== Full call stack:

this.$ is undefined anonymous("_cke_nativeListeners")ckeditor.js (line 11) anonymous("blur")ckeditor.js (line 10) anonymous(149, Object $=a type=1, 4, Object name=r, Object name=s)ckeditor.js (line 79) anonymous(a javascript...id('Font'))ckeditor.js (line 86) anonymous()ckeditor.js (line 9) anonymous(98)ckeditor.js (line 9) function onclick(event) { CKEDITOR.tools.callFunction(98, this); return false; }(click clientX=595, clientY=252)6 (line 2) [Break on this error] else if(k.$.attachEvent)k.$.attachEvent(....previousSibling.nodeType==3)continue;\r\n

Change History

comment:1 Changed 2 years ago by undertruck

  • Cc undertruck added

comment:2 Changed 2 years ago by undertruck

Steps to reproduce:

Open ckeditor_3.0.1/ckeditor/_samples/ajax.html

  1. Click on 'create editor'
  2. click on 'remove editor'
  3. click on 'create editor'

Now see, font, size, style etc drop down box dont work.

OS: Windows XP Browser: FF, IE 6, 7

comment:3 Changed 2 years ago by fredck

  • Keywords Windows XP, FF, IE removed
  • Status changed from new to closed
  • Resolution set to duplicate

DUP of #4552

Note: See TracTickets for help on using tickets.
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy