hide unused events, and change text for 'switch editor'

This commit is contained in:
Fernando Ontiveros
2011-02-16 09:55:31 +00:00
parent ecf5720931
commit d686cc76c2
4 changed files with 10 additions and 12 deletions

View File

@@ -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('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');

View File

@@ -692,25 +692,24 @@ MyWorkflow.prototype.AddEventInterContextMenu=function(_4093)
scope:_4093,
handler: MyWorkflow.prototype.toggleShapes
},
{
text: 'Message : Catch',
type:'bpmnEventMessageRecInter',
scope:_4093,
handler: MyWorkflow.prototype.toggleShapes
},
{
text: 'Timer',
type:'bpmnEventTimerInter',
scope:_4093,
handler: MyWorkflow.prototype.toggleShapes
},
}
/*
{
text: 'Intermediate Boundary Timer',
type:'bpmnEventBoundaryInter',
scope:_4093,
handler: MyWorkflow.prototype.toggleShapes
}
/*, {
},{
text: 'Message : Catch',
type:'bpmnEventMessageRecInter',
scope:_4093,
handler: MyWorkflow.prototype.toggleShapes
}, {
text: 'Compensate',
type:'bpmnEventCompInter',
scope:_4093,

View File

@@ -585,7 +585,6 @@ Ext.onReady ( function() {
items: [{
text: 'Edit Process',
handler: ProcessMapObj.editProcess,
//icon: '/skins/ext/images/gray/shapes/more.gif',
iconCls: 'button_menu_ext ss_sprite ss_page_white_edit',
scope: this
}, {

View File

@@ -264,7 +264,7 @@ Ext.onReady ( function() {
]
})
},{
text:'Edit Process',
text: _('ID_SWITCH_EDITOR'),
iconCls: 'button_menu_ext ss_sprite ss_pencil',
handler: function() {
if(typeof pro_uid !== 'undefined') {