Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/169625
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/25/169625/1
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: newchange
Gerrit-Change-Id: Ieb481e4b9290ce1b65cebd57d2c7910faaa8e2d8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits