X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMETA-INF%2Fresources%2Fpz2utils%2Ffieldlisteners.js;h=b0a3e6a04fe6b55f238342a1d8d03335fb6d868b;hb=0f71d8e1a79d3d007cc52b58bfe33517a69224b7;hp=d9cec5daf715078d3b86689415a8a745a152427f;hpb=cb3fd709780895b5fc2f8fb16cb4b0b3744850a0;p=mkjsf-moved-to-github.git diff --git a/src/META-INF/resources/pz2utils/fieldlisteners.js b/src/META-INF/resources/pz2utils/fieldlisteners.js index d9cec5d..b0a3e6a 100644 --- a/src/META-INF/resources/pz2utils/fieldlisteners.js +++ b/src/META-INF/resources/pz2utils/fieldlisteners.js @@ -82,7 +82,7 @@ var stateKeyDoc = StringtoXML(field.textContent || field.text); var stateKeyValue = stateKeyDoc.childNodes[0].getAttribute("value"); //console.log('Application hash update detected. New value: ' + stateKeyValue); - if (stateKeyValue != window.location.hash) { + if (stateKeyValue !== window.location.hash) { window.location.hash = stateKeyValue; //console.log("Browsers hash updated accordingly."); } else {