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')
-rw-r--r--plugins/Morpheus/javascripts/piwikHelper.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Morpheus/javascripts/piwikHelper.js b/plugins/Morpheus/javascripts/piwikHelper.js
index 1206a9b569..777c726e53 100644
--- a/plugins/Morpheus/javascripts/piwikHelper.js
+++ b/plugins/Morpheus/javascripts/piwikHelper.js
@@ -248,6 +248,12 @@ var piwikHelper = {
delete options.fixedFooter;
}
+ if (options && !options.ready) {
+ options.ready = function () {
+ $(".modal.open a").focus();
+ };
+ }
+
domElem.show();
$content.openModal(options);
},