HOR-3059
This commit is contained in:
@@ -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__'] );
|
||||
|
||||
@@ -109,12 +109,15 @@ Ext.onReady(function(){
|
||||
selModel:selModel,
|
||||
store: store,
|
||||
|
||||
tbar:[{
|
||||
tbar: [
|
||||
{
|
||||
text: _('ID_IMPORT'),
|
||||
iconCls: 'silk-add',
|
||||
icon: '/images/import.gif',
|
||||
handler: importProcess
|
||||
},{
|
||||
handler: importProcess,
|
||||
disabled: typeof ID_IMPORT_DISABLED === 'undefined' ? false : ID_IMPORT_DISABLED
|
||||
},
|
||||
{
|
||||
xtype: 'tbseparator'
|
||||
},
|
||||
{
|
||||
@@ -131,11 +134,13 @@ Ext.onReady(function(){
|
||||
iconCls: 'silk-add',
|
||||
handler: activeDeactive,
|
||||
disabled: true
|
||||
},{
|
||||
},
|
||||
{
|
||||
text: _('ID_DELETE'),
|
||||
iconCls: 'silk-add',
|
||||
icon: '/images/delete-16x16.gif',
|
||||
handler: deletePlugin
|
||||
handler: deletePlugin,
|
||||
disabled: typeof ID_DELETE_DISABLED === 'undefined' ? false : ID_DELETE_DISABLED
|
||||
}
|
||||
],
|
||||
listeners: {
|
||||
|
||||
Reference in New Issue
Block a user