BUG 10255 Al hacer doble click sobre a un skin para que este... SOLVED

- Not had this option.
- Was add validation for url.
This commit is contained in:
Marco Antonio Nina
2013-01-02 16:23:32 -04:00
parent a98eb8f672
commit cb99a6c4be

View File

@@ -816,8 +816,8 @@ function changeSkin(newSkin,currentSkin){
newLocation = currentLocation.replace("/" + currentSkin + "/", "/" + newSkin + "/setup/");
}
}
var punto = newLocation.indexOf('s=SKINS');
if (punto == -1) {
var point = newLocation.indexOf('s=SKINS');
if (point == -1) {
newLocation = newLocation +"?s=SKINS";
}
top.location.href = newLocation;