BUG 9056 "Con el nuevo skin de PM no se pueden crear nuevos..." SOLVED

- Corregir, esta redireccionando a el skin green
- Se resolvio el problema de redireccionamiento, ahora se redirecciona al skin actual
This commit is contained in:
Victor Saisa Lopez
2012-04-26 18:36:12 -04:00
parent b1c122d7a5
commit 128e71acda
2 changed files with 5 additions and 2 deletions

View File

@@ -94,6 +94,9 @@ else
// $oHeadPublisher->assign('CONFIG', $Config);
// $oHeadPublisher->assign('FORMATS',$c->getFormats());
$oHeadPublisher->assign("SYS_LANG", SYS_LANG);
$oHeadPublisher->assign("SYS_SKIN", SYS_SKIN);
G::RenderPage('publish', 'extJs');
}

View File

@@ -201,10 +201,10 @@ Ext.onReady(function(){
PMExt.confirm(_('ID_CONFIRM'), _('NEW_SITE_SUCCESS') +" "+nwTitle+"<br/>"+ _('NEW_SITE_SUCCESS_CONFIRM')+"<br/>"+ _('NEW_SITE_SUCCESS_CONFIRMNOTE'), function(){
nwTitle = formNewSite.getForm().findField('NW_TITLE').getValue();
if (typeof window.parent.parent.parent != 'undefined') {
parent.parent.parent.window.location="/sys"+nwTitle+"/en/green/login/login";
parent.parent.parent.window.location = "/sys" + nwTitle + "/" + SYS_LANG + "/" + SYS_SKIN + "/login/login";
}
else {
parent.parent.window.location="/sys"+nwTitle+"/en/green/login/login";
parent.parent.window.location = "/sys" + nwTitle + "/" + SYS_LANG + "/" + SYS_SKIN + "/login/login";
}
});
} else {