Opened 10 years ago

Closed 10 years ago

#4641 closed Bug (duplicate)

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

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

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 (3)

comment:1 Changed 10 years ago by Jitendra Kumar

Cc: Jitendra Kumar added

comment:2 Changed 10 years ago by Jitendra Kumar

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 10 years ago by Frederico Caldeira Knabben

Keywords: Windows XP FF IE removed
Resolution: duplicate
Status: newclosed

DUP of #4552

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