This commit is contained in:
qronald
2017-05-18 08:14:36 -04:00
parent 4c97a3451d
commit 0becd78aa7
2 changed files with 39 additions and 29 deletions

View File

@@ -29,6 +29,11 @@ $headPublisher->addExtJsScript( 'setup/pluginsMain', false );
$headPublisher->assign( "PROCESSMAKER_URL", "/sys" . SYS_SYS . "/" . SYS_LANG . "/" . SYS_SKIN );
$headPublisher->assign( "SYS_SKIN", SYS_SKIN );
$oPluginRegistry = &PMPluginRegistry::getSingleton();
if ($oPluginRegistry->getStatusPlugin('pmWorkspaceManagement') == "enabled") {
$headPublisher = $oPluginRegistry->executeMethod('pmWorkspaceManagement', 'disableButtonsPluginMain', $headPublisher);
}
if (isset( $_SESSION['__PLUGIN_ERROR__'] )) {
$headPublisher->assign( '__PLUGIN_ERROR__', $_SESSION['__PLUGIN_ERROR__'] );
unset( $_SESSION['__PLUGIN_ERROR__'] );