fixed frontend
This commit is contained in:
parent
26a8be2f0f
commit
2c24e788b0
|
@ -15,17 +15,19 @@ var galleryAPI = function(){
|
||||||
if(g.loadArea == "theater"){
|
if(g.loadArea == "theater"){
|
||||||
if(rcom.getInternetExplorerVersion()!=-1){
|
if(rcom.getInternetExplorerVersion()!=-1){
|
||||||
var photo_id = window.location.hash.replace("#","");
|
var photo_id = window.location.hash.replace("#","");
|
||||||
var params = rcom.getUrlVars();
|
if(photo_id){
|
||||||
var url = window.location.href.split("?")[0];
|
var params = rcom.getUrlVars();
|
||||||
params["id"] = photo_id;
|
var url = window.location.href.split("?")[0];
|
||||||
for(i=0;i<params.length;i++){
|
params["id"] = photo_id;
|
||||||
if(i == 0)
|
for(i=0;i<params.length;i++){
|
||||||
url+="?"+params[i]+"="+params[params[i]];
|
if(i == 0)
|
||||||
else
|
url+="?"+params[i]+"="+params[params[i]];
|
||||||
url+="&"+params[i]+"="+params[params[i]];
|
else
|
||||||
|
url+="&"+params[i]+"="+params[params[i]];
|
||||||
|
|
||||||
}
|
}
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue