Catrope has uploaded a new change for review.
https://gerrit.wikimedia.org/r/179390
Change subject: Add getter for toolbarDialogs in ve.ui.Surface
......................................................................
Add getter for toolbarDialogs in ve.ui.Surface
We already have getDialogs(), and ve.ui.Context has getInspectors()
Change-Id: Ifb096b4f580bfbf58df459c24fe48b85730293d4
---
M src/ui/ve.ui.Surface.js
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/90/179390/1
diff --git a/src/ui/ve.ui.Surface.js b/src/ui/ve.ui.Surface.js
index 697e55a..cfd4e0e 100644
--- a/src/ui/ve.ui.Surface.js
+++ b/src/ui/ve.ui.Surface.js
@@ -238,6 +238,14 @@
};
/**
+ * Get toolbar dialogs window set.
+ * @returns {ve.ui.WindowManager} Toolbar dialogs window set
+ */
+ve.ui.Surface.prototype.getToolbarDialogs = function () {
+ return this.toolbarDialogs;
+};
+
+/**
* Get the local overlay.
*
* Local overlays are attached to the same frame as the surface.
--
To view, visit https://gerrit.wikimedia.org/r/179390
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb096b4f580bfbf58df459c24fe48b85730293d4
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits