N.534 Cannot create a parent ticket from the ticket edition form. More generally, the object creation dialog box (opened by the mean of the PLUS button) fails as soon as any of the mandatory fields is an HTML field. Regression introduced in iTop 2.3.0, and due to HTML field edition widget (aka CKEditor)

SVN:trunk[4496]
This commit is contained in:
Romain Quetiez
2016-12-07 20:31:54 +00:00
parent 5716c11450
commit 21fc272674

View File

@@ -364,6 +364,16 @@ function ExtKeyWidget(id, sTargetClass, sFilter, sTitle, bSelectMode, oWizHelper
{
if (this.name != '')
{
if ($(this).hasClass('htmlEditor'))
{
var sId = $(this).attr('id');
var editorInst = CKEDITOR.instances[sId];
if (editorInst)
{
editorInst.updateElement();
}
}
theMap[this.name] = this.value;
}
}