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

Change subject: Make sure DraggableGroupElement supports button widgets
......................................................................


Make sure DraggableGroupElement supports button widgets

Support button widgets and option widgets.

Bug: T88053
Change-Id: Ie576f44227808e87f813813c61eef2ca0d0a24de
---
M src/elements/DraggableElement.js
1 file changed, 9 insertions(+), 0 deletions(-)

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



diff --git a/src/elements/DraggableElement.js b/src/elements/DraggableElement.js
index 228fa95..5527527 100644
--- a/src/elements/DraggableElement.js
+++ b/src/elements/DraggableElement.js
@@ -23,6 +23,8 @@
                } );
 };
 
+OO.initClass( OO.ui.DraggableElement );
+
 /* Events */
 
 /**
@@ -38,6 +40,13 @@
  * @event drop
  */
 
+/* Static Properties */
+
+/**
+ * @inheritdoc OO.ui.ButtonElement
+ */
+OO.ui.DraggableElement.static.cancelButtonMouseDownEvents = false;
+
 /* Methods */
 
 /**

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie576f44227808e87f813813c61eef2ca0d0a24de
Gerrit-PatchSet: 3
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Trevor Parscal <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to