From a98eb8f6727f54209e87104be139c7eaedb75095 Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Wed, 2 Jan 2013 16:10:57 -0400 Subject: [PATCH] BUG 10255 Al hacer doble click sobre a un skin para que este... SOLVED - Not had this option. - Was add validation for url. --- workflow/engine/templates/setup/skinList.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workflow/engine/templates/setup/skinList.js b/workflow/engine/templates/setup/skinList.js index 644959b2b..c31d6d00f 100755 --- a/workflow/engine/templates/setup/skinList.js +++ b/workflow/engine/templates/setup/skinList.js @@ -816,6 +816,10 @@ function changeSkin(newSkin,currentSkin){ newLocation = currentLocation.replace("/" + currentSkin + "/", "/" + newSkin + "/setup/"); } } + var punto = newLocation.indexOf('s=SKINS'); + if (punto == -1) { + newLocation = newLocation +"?s=SKINS"; + } top.location.href = newLocation; } else {