Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Transitions/templates/transitions.js')
-rw-r--r--plugins/Transitions/templates/transitions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Transitions/templates/transitions.js b/plugins/Transitions/templates/transitions.js
index 2dec90d31e..dfc4d32114 100644
--- a/plugins/Transitions/templates/transitions.js
+++ b/plugins/Transitions/templates/transitions.js
@@ -17,6 +17,11 @@ function DataTable_RowActions_Transitions(dataTable) {
DataTable_RowActions_Transitions.prototype = new DataTable_RowAction;
+/** Static helper method to launch transitions from anywhere */
+DataTable_RowActions_Transitions.launchForUrl = function(url) {
+ broadcast.propagateNewPopoverParameter('RowAction', 'Transitions:url:' + url);
+};
+
DataTable_RowActions_Transitions.isPageUrlReport = function(module, action) {
return module == 'Actions' &&
(action == 'getPageUrls' || action == 'getEntryPageUrls' || action == 'getExitPageUrls' || action == 'getPageUrlsFollowingSiteSearch');