Esanders has uploaded a new change for review.
https://gerrit.wikimedia.org/r/170339
Change subject: Disable cell editing when a context is opened
......................................................................
Disable cell editing when a context is opened
The table context requires us to switch back to a table
selection, so do so.
Bug: 72803
Change-Id: I29da357de61ab645c497f192c24c23f8ce9bf821
---
M src/ui/ve.ui.TableContext.js
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/39/170339/1
diff --git a/src/ui/ve.ui.TableContext.js b/src/ui/ve.ui.TableContext.js
index 9759472..f4a6d6f 100644
--- a/src/ui/ve.ui.TableContext.js
+++ b/src/ui/ve.ui.TableContext.js
@@ -118,6 +118,7 @@
ve.ui.TableContext.prototype.toggle = function ( show ) {
this.popup.toggle( show );
if ( this.popup.isVisible() ) {
+ this.tableNode.setEditing( false );
this.surface.getModel().connect( this, { select: 'toggle' } );
this.surface.getView().$document.on( 'mousedown',
this.onDocumentMouseDownHandler );
} else {
--
To view, visit https://gerrit.wikimedia.org/r/170339
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I29da357de61ab645c497f192c24c23f8ce9bf821
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits