BUG 8732 "Migrate Logo Setup to ExtJS" SOLVED (2nd fix)
- there wasn't a right redirection for new PMOS UI afeter apply a new logo - problem fixed, adding a coditional redirection depending of ws
This commit is contained in:
@@ -155,7 +155,12 @@ Ext.onReady(function() {
|
|||||||
method : 'post',
|
method : 'post',
|
||||||
params : {nameFunction: 'restoreLogo', NAMELOGO:imageName},
|
params : {nameFunction: 'restoreLogo', NAMELOGO:imageName},
|
||||||
success : function() {
|
success : function() {
|
||||||
window.parent.window.parent.location.href = window.parent.window.parent.window.location.href;
|
if (typeof parent.parent.Ext != 'undefined') {
|
||||||
|
parent.parent.location.href = '../main?st=admin';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
window.parent.window.parent.location.href = window.parent.window.parent.window.location.href
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user