diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-09-14 01:00:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-14 01:00:11 +0300 |
commit | fa312e6aca5303036742990e29b19bb7e378973d (patch) | |
tree | 69356e67b514139d188bb7f91f359fc674771f51 /plugins/CoreHome/javascripts/broadcast.js | |
parent | 73901757334d0f38a63fa2500a194db60071b56a (diff) |
Fix row evolution did not work for custom dimensions (#10498)
* fix row evolution for custom dimensions did not work
* remove no longer needed menu code
Diffstat (limited to 'plugins/CoreHome/javascripts/broadcast.js')
-rw-r--r-- | plugins/CoreHome/javascripts/broadcast.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/CoreHome/javascripts/broadcast.js b/plugins/CoreHome/javascripts/broadcast.js index dde45058ed..cab2525145 100644 --- a/plugins/CoreHome/javascripts/broadcast.js +++ b/plugins/CoreHome/javascripts/broadcast.js @@ -443,27 +443,6 @@ var broadcast = { * @return {Boolean} */ loadAjaxContent: function (urlAjax) { - if (typeof piwikMenu !== 'undefined') { - // we have to use a $timeout since menu groups are displayed using an angular directive, and on initial - // page load, the dropdown will not be completely rendered at this point. using 2 $timeouts (to push - // the menu activation logic to the end of the event queue twice), seems to work. - angular.element(document).injector().invoke(function ($timeout) { - $timeout(function () { - $timeout(function () { - piwikMenu.activateMenu( - broadcast.getParamValue('module', urlAjax), - broadcast.getParamValue('action', urlAjax), - { - idGoal: broadcast.getParamValue('idGoal', urlAjax), - idDashboard: broadcast.getParamValue('idDashboard', urlAjax), - idDimension: broadcast.getParamValue('idDimension', urlAjax) - } - ); - }); - }); - }); - } - if(broadcast.getParamValue('module', urlAjax) == 'API') { broadcast.lastUrlRequested = null; $('#content').html("Loading content from the API and displaying it within Piwik is not allowed."); |