jenkins-bot has submitted this change and it was merged.

Change subject: Fix incorrect collapsed form state when topic sort changes.
......................................................................


Fix incorrect collapsed form state when topic sort changes.

Currently, a manual hideForm step is needed to sync up the initial
state after the template does the rendering.  This is called by
makeContentInteractive.

This was previously called by FlowBoardComponent.prototype.reinitializeBoard
(the equivalent of FlowBoardComponent.prototype.reinitializeContainer),
so this adds it back.

Bug: 72602
Change-Id: Ieb481e4b9290ce1b65cebd57d2c7910faaa8e2d8
---
M modules/engine/components/board/flow-board.js
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/engine/components/board/flow-board.js 
b/modules/engine/components/board/flow-board.js
index 1781131..a23efc3 100644
--- a/modules/engine/components/board/flow-board.js
+++ b/modules/engine/components/board/flow-board.js
@@ -114,6 +114,8 @@
                        return false;
                }
 
+               this.emitWithReturn( 'makeContentInteractive', this );
+
                return $retObj;
        }
        FlowBoardComponent.prototype.reinitializeContainer = 
flowBoardComponentReinitializeContainer;

-- 
To view, visit https://gerrit.wikimedia.org/r/169625
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb481e4b9290ce1b65cebd57d2c7910faaa8e2d8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to