BUG 9185 Cuando se deshabilita o habilita un plugin... SOLVED

- No found validation to the skin uxmodern.
- were added validation for the skin.
This commit is contained in:
Marco Antonio Nina
2012-07-26 16:46:48 -04:00
parent fbdf3b1eec
commit a682c26e62
2 changed files with 13 additions and 5 deletions

View File

@@ -255,9 +255,14 @@ function activeDeactive(){
method: 'GET',
success: function ( result, request ) {
//Ext.MessageBox.alert('Success', 'Data return from the server: '+ result.responseText);
parent.parent.location.href = 'main?s='+parent._NODE_SELECTED;
return;
var site = '';
if (SYS_SKIN.substring(0,2) == 'ux') {
site = PROCESSMAKER_URL
} else {
site = PROCESSMAKER_URL + "/setup";
}
parent.parent.location.href = site +'/main?s='+parent._NODE_SELECTED;
return;
store.reload();