mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ETHREEOH-1844: Text field (areas) became non-editable if user use navigate-remove combination for repeatable elements on Create Web content based on web form screen
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3393,6 +3393,10 @@ alfresco.xforms.Repeat = alfresco.xforms.VGroup.extend({
|
||||
var fromChild = this.getChildAt(fromIndex);
|
||||
var toChild = this.getChildAt(toIndex);
|
||||
this.xform.swapRepeatItems(fromChild, toChild);
|
||||
|
||||
// set tinymce current instance to null
|
||||
alfresco.xforms.RichTextEditor.currentInstance = null;
|
||||
|
||||
var anim = dojo.lfx.html.fadeOut(fromChild.domContainer, 500);
|
||||
anim.onEnd = function()
|
||||
{
|
||||
@@ -3636,6 +3640,9 @@ alfresco.xforms.Repeat = alfresco.xforms.VGroup.extend({
|
||||
event.stopPropagation();
|
||||
if (this.isInsertRepeatItemEnabled())
|
||||
{
|
||||
// set tinymce current instance to null
|
||||
alfresco.xforms.RichTextEditor.currentInstance = null;
|
||||
|
||||
this.setFocusedChild(null);
|
||||
var trigger = this._getRepeatItemTrigger("insert", { position: "before" });
|
||||
trigger.fire();
|
||||
|
Reference in New Issue
Block a user