Matthias Mullie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/200152
Change subject: Remove unused data attr
......................................................................
Remove unused data attr
Change-Id: Idfc0a44f296960069e0ac31b9fbb278736663379
---
M modules/engine/components/common/flow-component-events.js
1 file changed, 0 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/52/200152/1
diff --git a/modules/engine/components/common/flow-component-events.js
b/modules/engine/components/common/flow-component-events.js
index 6baf8b2..7a5df74 100644
--- a/modules/engine/components/common/flow-component-events.js
+++ b/modules/engine/components/common/flow-component-events.js
@@ -653,9 +653,6 @@
function flowEventsMixinHideForm( $form ) {
var component = mw.flow.getPrototypeMethod( 'component',
'getInstanceByElement' )( $form );
- // Store state
- $form.data( 'flow-state', 'hidden' );
-
// If any preview is visible cancel it
// Must be done before compressing text areas because
// the preview may have manipulated them.
@@ -733,9 +730,6 @@
// Initialize editors, turning them from textareas into editor
objects
self.emitWithReturn( 'initializeEditors', $form );
-
- // Store state
- $form.data( 'flow-state', 'visible' );
}
FlowComponentEventsMixin.eventHandlers.showForm =
flowEventsMixinShowForm;
--
To view, visit https://gerrit.wikimedia.org/r/200152
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idfc0a44f296960069e0ac31b9fbb278736663379
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits