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:
@@ -25,6 +25,8 @@
|
||||
|
||||
$headPublisher =& headPublisher::getSingleton();
|
||||
$headPublisher->addExtJsScript('setup/pluginsMain', false);
|
||||
$headPublisher->assign("PROCESSMAKER_URL", "/sys" . SYS_SYS . "/" . SYS_LANG . "/" . SYS_SKIN );
|
||||
$headPublisher->assign("SYS_SKIN", SYS_SKIN);
|
||||
$translations = G::getTranslations(array(
|
||||
'ID_CONFIGURE', 'ID_STATUS', 'ID_DELETE', 'ID_IMPORT', 'ID_SELECT',
|
||||
'ID_STATUS', 'ID_ACTIVATE', 'ID_DEACTIVATE', 'ID_PLUGINS',
|
||||
@@ -34,7 +36,8 @@ $translations = G::getTranslations(array(
|
||||
));
|
||||
$headPublisher->assign('TRANSLATIONS', $translations);
|
||||
if (isset($_SESSION['__PLUGIN_ERROR__'])) {
|
||||
$headPublisher->assign('__PLUGIN_ERROR__', $_SESSION['__PLUGIN_ERROR__']);
|
||||
unset($_SESSION['__PLUGIN_ERROR__']);
|
||||
$headPublisher->assign('__PLUGIN_ERROR__', $_SESSION['__PLUGIN_ERROR__']);
|
||||
unset($_SESSION['__PLUGIN_ERROR__']);
|
||||
}
|
||||
G::RenderPage('publish', 'extJs');
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user