Do not set hash if we're not updating frameset.
This commit is contained in:
@@ -24,6 +24,10 @@ function setURLHash(hash) {
|
|||||||
if (window.parent != window && window.parent.setURLHash) {
|
if (window.parent != window && window.parent.setURLHash) {
|
||||||
window.parent.setURLHash(hash);
|
window.parent.setURLHash(hash);
|
||||||
} else {
|
} else {
|
||||||
|
/* Do not set if we're not updating frameset */
|
||||||
|
if (window.location.pathname.substring(-9, 9) != "index.php") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (hash_init_done) {
|
if (hash_init_done) {
|
||||||
window.location.hash = "PMAURL:" + hash;
|
window.location.hash = "PMAURL:" + hash;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user