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:
@@ -94,6 +94,9 @@ else
|
|||||||
// $oHeadPublisher->assign('CONFIG', $Config);
|
// $oHeadPublisher->assign('CONFIG', $Config);
|
||||||
// $oHeadPublisher->assign('FORMATS',$c->getFormats());
|
// $oHeadPublisher->assign('FORMATS',$c->getFormats());
|
||||||
|
|
||||||
|
$oHeadPublisher->assign("SYS_LANG", SYS_LANG);
|
||||||
|
$oHeadPublisher->assign("SYS_SKIN", SYS_SKIN);
|
||||||
|
|
||||||
G::RenderPage('publish', 'extJs');
|
G::RenderPage('publish', 'extJs');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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(){
|
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();
|
nwTitle = formNewSite.getForm().findField('NW_TITLE').getValue();
|
||||||
if (typeof window.parent.parent.parent != 'undefined') {
|
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 {
|
else {
|
||||||
parent.parent.window.location="/sys"+nwTitle+"/en/green/login/login";
|
parent.parent.window.location = "/sys" + nwTitle + "/" + SYS_LANG + "/" + SYS_SKIN + "/login/login";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user