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:
authorBeezyT <timo@ezdesign.de>2012-08-21 13:17:53 +0400
committerBeezyT <timo@ezdesign.de>2012-08-21 13:17:53 +0400
commite9508db6db005779236f17511e18f7932c1bea68 (patch)
treeb6313ac223927ec87d44c7b8c75553550a2ae8fe /plugins/Transitions
parentcb6404a51543c5855819b57c96977d01e231661f (diff)
refs #3332
* reset open group when closing the popover or changing the url * fixed some lint git-svn-id: http://dev.piwik.org/svn/trunk@6855 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Transitions')
-rw-r--r--plugins/Transitions/templates/transitions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Transitions/templates/transitions.js b/plugins/Transitions/templates/transitions.js
index 75634bb5bf..d4c5d703ff 100644
--- a/plugins/Transitions/templates/transitions.js
+++ b/plugins/Transitions/templates/transitions.js
@@ -65,7 +65,6 @@ function Piwik_Transitions(link, rowAction) {
this.model = new Piwik_Transitions_Model(this.ajax);
this.leftGroups = ['previousPages', 'searchEngines', 'websites', 'campaigns'];
- this.leftOpenGroup = 'previousPages';
}
Piwik_Transitions.prototype.reset = function(link) {
@@ -73,6 +72,7 @@ Piwik_Transitions.prototype.reset = function(link) {
this.popover = null;
this.canvas = null;
this.centerBox = null;
+ this.leftOpenGroup = 'previousPages';
};
/** Open the popover */
@@ -245,7 +245,7 @@ Piwik_Transitions.prototype.renderOpenGroup = function(groupName, side) {
titleClass = 'BoxTextLeft';
} else {
titleX = this.canvas.rightBoxBeginX - 1;
- titleClass = 'BoxTextRight'
+ titleClass = 'BoxTextRight';
}
var groupTitle = self.model.getGroupTitle(groupName);
this.canvas.renderText(groupTitle, titleX , 11, [titleClass, 'TitleOfOpenGroup']);
@@ -259,7 +259,7 @@ Piwik_Transitions.prototype.renderOpenGroup = function(groupName, side) {
var onClick = false;
if (!isOthers && (groupName == 'previousPages' || groupName == 'followingPages')) {
onClick = (function(url) {
- return function() { self.reloadPopover(url) };
+ return function() { self.reloadPopover(url); };
})(label);
}
this.canvas.renderBox({