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 =& headPublisher::getSingleton();
|
||||||
$headPublisher->addExtJsScript('setup/pluginsMain', false);
|
$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(
|
$translations = G::getTranslations(array(
|
||||||
'ID_CONFIGURE', 'ID_STATUS', 'ID_DELETE', 'ID_IMPORT', 'ID_SELECT',
|
'ID_CONFIGURE', 'ID_STATUS', 'ID_DELETE', 'ID_IMPORT', 'ID_SELECT',
|
||||||
'ID_STATUS', 'ID_ACTIVATE', 'ID_DEACTIVATE', 'ID_PLUGINS',
|
'ID_STATUS', 'ID_ACTIVATE', 'ID_DEACTIVATE', 'ID_PLUGINS',
|
||||||
@@ -38,3 +40,4 @@ if (isset($_SESSION['__PLUGIN_ERROR__'])) {
|
|||||||
unset($_SESSION['__PLUGIN_ERROR__']);
|
unset($_SESSION['__PLUGIN_ERROR__']);
|
||||||
}
|
}
|
||||||
G::RenderPage('publish', 'extJs');
|
G::RenderPage('publish', 'extJs');
|
||||||
|
|
||||||
|
|||||||
@@ -255,8 +255,13 @@ function activeDeactive(){
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
success: function ( result, request ) {
|
success: function ( result, request ) {
|
||||||
//Ext.MessageBox.alert('Success', 'Data return from the server: '+ result.responseText);
|
//Ext.MessageBox.alert('Success', 'Data return from the server: '+ result.responseText);
|
||||||
|
var site = '';
|
||||||
parent.parent.location.href = 'main?s='+parent._NODE_SELECTED;
|
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;
|
return;
|
||||||
|
|
||||||
store.reload();
|
store.reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user