diff --git a/workflow/engine/templates/bpmn/ProcessMapContext.js b/workflow/engine/templates/bpmn/ProcessMapContext.js index 675422de8..52dd98c58 100755 --- a/workflow/engine/templates/bpmn/ProcessMapContext.js +++ b/workflow/engine/templates/bpmn/ProcessMapContext.js @@ -150,17 +150,18 @@ ProcessMapContext.prototype.editProcess= function() ProcessMapContext.prototype.exportProcess= function() { var exportProcessForm = new Ext.FormPanel({ - labelWidth : 160, // label settings here cascade unless overridden + labelWidth : 160, frame : false, - bodyStyle :'padding:10px 10px 10px 10px;', - width : 420, - height : 280, + height : 200, defaultType : 'textfield', + defaults : {width: 180}, buttonAlign : 'center', items: [ { xtype : 'fieldset', + bodyStyle :'padding:10px 10px 10px 10px;', title : 'Process Info', + width : 370, collapsible: false, autoHeight : true, buttonAlign: 'center', @@ -173,10 +174,12 @@ ProcessMapContext.prototype.exportProcess= function() xtype : 'displayfield', fieldLabel : _('ID_DESCRIPTION'), name : 'PRO_DESCRIPTION' +/* },{ xtype : 'displayfield', fieldLabel : _('ID_SIZE_IN_BYTES'), name : 'SIZE' +*/ },{ xtype : 'displayfield', fieldLabel : _('ID_PM_FILENAME'), @@ -220,8 +223,8 @@ ProcessMapContext.prototype.exportProcess= function() collapsible: false, maximizable: false, sizeable : false, - width : 500, - height : 250, + width : 400, + height : 210, resizable : false, layout : 'fit', plain : true, diff --git a/workflow/engine/templates/bpmn/designer.js b/workflow/engine/templates/bpmn/designer.js index d044e2c8b..de9e851ad 100755 --- a/workflow/engine/templates/bpmn/designer.js +++ b/workflow/engine/templates/bpmn/designer.js @@ -692,7 +692,9 @@ Ext.onReady ( function() { text: 'Delete All Lines', handler: ProcessMapObj.delLines, scope: this - }, */{ + }, */ +/* + { text: 'Process Permission', iconCls: 'button_menu_ext ss_sprite ss_application_key', handler: ProcessMapObj.processPermission, @@ -759,7 +761,9 @@ Ext.onReady ( function() { } ] } - }] + } +*/ + ] }); canvas.on('contextmenu', function(e) {