diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Morpheus/javascripts/piwikHelper.js | 6 |
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); }, |