Opened 13 years ago
Last modified 12 years ago
#8768 confirmed Bug
CKEDITOR.ui.dialog.uiElement.setValue(value, noChangeEvent) does not respect the noChangeEvent parameter
Reported by: | dan seto | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | 3.1 |
Keywords: | Cc: |
Description
I'm creating a custom dialog where I'm setting the value of a text area
var el = dialog.getContentElement('tab1','description');
el.setValue(result.datastylesheet?,true);
Will always detect that the value of the element has changed. Per the documentation the noChangeEvent parameter should either trigger the change event or not. It seems to be firing the event regardless
Attachments (1)
Change History (3)
comment:1 Changed 13 years ago by
Changed 12 years ago by
Attachment: | replacebycode2.html added |
---|
comment:2 Changed 12 years ago by
Keywords: | setValue removed |
---|---|
Status: | new → confirmed |
Version: | 3.6.2 → 3.1 |
I have managed to reproduce this problem from CKEditor 3.1. Before tjis version "dialogShow" event was not fired (at least i could not catch it).
To reproduce just put the replacebycode2.html file in _samples folder.
Correction on the