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-09-24 11:33:08 +0400
committerBeezyT <timo@ezdesign.de>2012-09-24 11:33:08 +0400
commit8bcf12942fc6124d7e42090b6d29f8b4c329e906 (patch)
treee94786deac65c3c2860eebb0fc9fd92199e73dea /plugins/Transitions
parent89d29b48f61ef4558fdc4e51adbba723c54eb95b (diff)
refs #3332 Transitions remembers the popover state in a second hash part of the URL => using direct links and the browser history is possible now!
git-svn-id: http://dev.piwik.org/svn/trunk@7045 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Transitions')
-rw-r--r--plugins/Transitions/templates/transitions.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/Transitions/templates/transitions.js b/plugins/Transitions/templates/transitions.js
index 75d299297f..9e82941c88 100644
--- a/plugins/Transitions/templates/transitions.js
+++ b/plugins/Transitions/templates/transitions.js
@@ -33,7 +33,6 @@ DataTable_RowActions_Transitions.prototype.doOpenPopover = function(link) {
this.transitions.showPopover();
};
-
DataTable_RowActions_Registry.register({
name: 'Transitions',
@@ -235,7 +234,7 @@ Piwik_Transitions.prototype.renderEntries = function(onlyBg) {
var self = this;
var gradient = this.canvas.createHorizontalGradient('#CFEDCA', '#91DE83', 'left');
if (this.highlightedGroup == 'directEntries') {
- gradient = this.canvas.createHorizontalGradient('#FAE2C0', '#FAD293', 'left')
+ gradient = this.canvas.createHorizontalGradient('#FAE2C0', '#FAD293', 'left');
}
this.canvas.renderBox({
side: 'left',
@@ -262,7 +261,7 @@ Piwik_Transitions.prototype.renderExits = function(onlyBg) {
var self = this;
var gradient = this.canvas.createHorizontalGradient('#CFEDCA', '#91DE83', 'right');
if (this.highlightedGroup == 'exits') {
- gradient = this.canvas.createHorizontalGradient('#FAE2C0', '#FAD293', 'right')
+ gradient = this.canvas.createHorizontalGradient('#FAE2C0', '#FAD293', 'right');
}
this.canvas.renderBox({
side: 'right',
@@ -303,7 +302,7 @@ Piwik_Transitions.prototype.renderOpenGroup = function(groupName, side, onlyBg)
var gradientOthers = this.canvas.createHorizontalGradient('#F5F3EB', '#E8E4D5', side);
var gradientBackground = this.canvas.createHorizontalGradient('#FFFFFF', '#B0CAE8', side);
if (groupName == this.highlightedGroup) {
- gradientBackground = this.canvas.createHorizontalGradient('#FFFFFF', '#FAD293', side)
+ gradientBackground = this.canvas.createHorizontalGradient('#FFFFFF', '#FAD293', side);
}
// remember current offsets to reset them later for drawing the background
@@ -409,7 +408,7 @@ Piwik_Transitions.prototype.renderClosedGroup = function(groupName, side, onlyBg
var self = this;
var gradient = this.canvas.createHorizontalGradient('#DDE4ED', '#9BBADE', side);
if (groupName == this.highlightedGroup) {
- gradient = this.canvas.createHorizontalGradient('#FAE2C0', '#FAD293', side)
+ gradient = this.canvas.createHorizontalGradient('#FAE2C0', '#FAD293', side);
}
var nbTransitionsVarName = groupName + 'NbTransitions';
@@ -443,7 +442,6 @@ Piwik_Transitions.prototype.renderClosedGroup = function(groupName, side, onlyBg
/** Reload the entire popover for a different URL */
Piwik_Transitions.prototype.reloadPopover = function(url) {
- Piwik_Popover.close();
this.rowAction.openPopover(url);
};