Skip to content
Extraits de code Groupes Projets
Valider ef58eb16 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fixing overlay UI tests.

parent e3c74006
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -114,6 +114,11 @@ var Piwik_Overlay = (function () { ...@@ -114,6 +114,11 @@ var Piwik_Overlay = (function () {
/** $.history callback for hash change */ /** $.history callback for hash change */
function hashChangeCallback(urlHash) { function hashChangeCallback(urlHash) {
var location = broadcast.getParamValue('l', 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); location = Overlay_Helper.decodeFrameUrl(location);
if (!updateComesFromInsideFrame) { if (!updateComesFromInsideFrame) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter