diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-22 04:15:03 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-22 04:15:03 +0300 |
commit | ef58eb16085d367fc3806d731e4cd76db055f77a (patch) | |
tree | 49f1ed8e389fbb77b3f61402c39ab0a46ec9a00d /plugins/Overlay | |
parent | e3c7400626be38a84ef12e97486229ae53895798 (diff) |
Fixing overlay UI tests.
Diffstat (limited to 'plugins/Overlay')
-rw-r--r-- | plugins/Overlay/javascripts/Piwik_Overlay.js | 5 |
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) { |