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:
authorThomas Steur <tsteur@users.noreply.github.com>2016-09-14 01:00:11 +0300
committerGitHub <noreply@github.com>2016-09-14 01:00:11 +0300
commitfa312e6aca5303036742990e29b19bb7e378973d (patch)
tree69356e67b514139d188bb7f91f359fc674771f51 /plugins/CoreHome/javascripts/broadcast.js
parent73901757334d0f38a63fa2500a194db60071b56a (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.js21
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.");