hide unused events, and change text for 'switch editor'
This commit is contained in:
@@ -48,4 +48,4 @@ if (ReportTables::tableExist()) {
|
|||||||
$G_TMP_MENU->AddIdRawOption('DB_CONNECTIONS', '', G::LoadTranslation('ID_DB_CONNECTIONS'),"",'showDbConnectionsList(Pm.options.uid); return false;','','ss_sprite ss_database_connect');
|
$G_TMP_MENU->AddIdRawOption('DB_CONNECTIONS', '', G::LoadTranslation('ID_DB_CONNECTIONS'),"",'showDbConnectionsList(Pm.options.uid); return false;','','ss_sprite ss_database_connect');
|
||||||
$G_TMP_MENU->AddIdRawOption('CASE_SCHEDULER', '', G::LoadTranslation('ID_CASE_SCHEDULER'), "", 'showCaseSchedulerList(Pm.options.uid); return false;','','ss_sprite ss_calendar_view_day');
|
$G_TMP_MENU->AddIdRawOption('CASE_SCHEDULER', '', G::LoadTranslation('ID_CASE_SCHEDULER'), "", 'showCaseSchedulerList(Pm.options.uid); return false;','','ss_sprite ss_calendar_view_day');
|
||||||
|
|
||||||
$G_TMP_MENU->AddIdRawOption('EDIT_BPMN', '', G::LoadTranslation('ID_EDIT_BPMN'), "", 'showNewProcessMap(Pm.options.uid); return false;','','ss_sprite ss_pencil');
|
$G_TMP_MENU->AddIdRawOption('EDIT_BPMN', '', G::LoadTranslation('ID_SWITCH_EDITOR'), "", 'showNewProcessMap(Pm.options.uid); return false;','','ss_sprite ss_pencil');
|
||||||
|
|||||||
@@ -692,25 +692,24 @@ MyWorkflow.prototype.AddEventInterContextMenu=function(_4093)
|
|||||||
scope:_4093,
|
scope:_4093,
|
||||||
handler: MyWorkflow.prototype.toggleShapes
|
handler: MyWorkflow.prototype.toggleShapes
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: 'Message : Catch',
|
|
||||||
type:'bpmnEventMessageRecInter',
|
|
||||||
scope:_4093,
|
|
||||||
handler: MyWorkflow.prototype.toggleShapes
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: 'Timer',
|
text: 'Timer',
|
||||||
type:'bpmnEventTimerInter',
|
type:'bpmnEventTimerInter',
|
||||||
scope:_4093,
|
scope:_4093,
|
||||||
handler: MyWorkflow.prototype.toggleShapes
|
handler: MyWorkflow.prototype.toggleShapes
|
||||||
},
|
}
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
text: 'Intermediate Boundary Timer',
|
text: 'Intermediate Boundary Timer',
|
||||||
type:'bpmnEventBoundaryInter',
|
type:'bpmnEventBoundaryInter',
|
||||||
scope:_4093,
|
scope:_4093,
|
||||||
handler: MyWorkflow.prototype.toggleShapes
|
handler: MyWorkflow.prototype.toggleShapes
|
||||||
}
|
},{
|
||||||
/*, {
|
text: 'Message : Catch',
|
||||||
|
type:'bpmnEventMessageRecInter',
|
||||||
|
scope:_4093,
|
||||||
|
handler: MyWorkflow.prototype.toggleShapes
|
||||||
|
}, {
|
||||||
text: 'Compensate',
|
text: 'Compensate',
|
||||||
type:'bpmnEventCompInter',
|
type:'bpmnEventCompInter',
|
||||||
scope:_4093,
|
scope:_4093,
|
||||||
|
|||||||
@@ -585,7 +585,6 @@ Ext.onReady ( function() {
|
|||||||
items: [{
|
items: [{
|
||||||
text: 'Edit Process',
|
text: 'Edit Process',
|
||||||
handler: ProcessMapObj.editProcess,
|
handler: ProcessMapObj.editProcess,
|
||||||
//icon: '/skins/ext/images/gray/shapes/more.gif',
|
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_page_white_edit',
|
iconCls: 'button_menu_ext ss_sprite ss_page_white_edit',
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ Ext.onReady ( function() {
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
},{
|
},{
|
||||||
text:'Edit Process',
|
text: _('ID_SWITCH_EDITOR'),
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(typeof pro_uid !== 'undefined') {
|
if(typeof pro_uid !== 'undefined') {
|
||||||
|
|||||||
Reference in New Issue
Block a user