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:
authordiosmosis <benaka@piwik.pro>2015-09-22 04:15:03 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-22 04:15:03 +0300
commitef58eb16085d367fc3806d731e4cd76db055f77a (patch)
tree49f1ed8e389fbb77b3f61402c39ab0a46ec9a00d /plugins/Overlay
parente3c7400626be38a84ef12e97486229ae53895798 (diff)
Fixing overlay UI tests.
Diffstat (limited to 'plugins/Overlay')
-rw-r--r--plugins/Overlay/javascripts/Piwik_Overlay.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Overlay/javascripts/Piwik_Overlay.js b/plugins/Overlay/javascripts/Piwik_Overlay.js
index b7f38a89b4..fe5d42dcb3 100644
--- a/plugins/Overlay/javascripts/Piwik_Overlay.js
+++ b/plugins/Overlay/javascripts/Piwik_Overlay.js
@@ -114,6 +114,11 @@ var Piwik_Overlay = (function () {
/** $.history callback for hash change */
function hashChangeCallback(urlHash) {
var location = broadcast.getParamValue('l', urlHash);
+
+ // angular will encode the value again since it is added as the fragment path, not the fragment query parameter,
+ // so we have to decode it again after getParamValue
+ location = decodeURIComponent(location);
+
location = Overlay_Helper.decodeFrameUrl(location);
if (!updateComesFromInsideFrame) {