BUG 0000 adjusting the case notes & case sumary columns width

- removing old code on proceses/main.js
This commit is contained in:
Erik Amaru Ortiz
2011-10-14 15:22:53 -04:00
parent f41427bf06
commit 8e32abae73
2 changed files with 4 additions and 8 deletions

View File

@@ -332,8 +332,8 @@
function getToDo() {
$caseColumns = array ();
$caseColumns[] = array( 'header' => '#', 'dataIndex' => 'APP_NUMBER', 'width' => 45, 'align' => 'center');
$caseColumns[] = array( 'header' => '', 'dataIndex' => 'CASE_SUMMARY', 'width' => 15, 'align' => 'center', 'sorteable'=>false, 'hideable'=>false);
$caseColumns[] = array( 'header' => '', 'dataIndex' => 'CASE_NOTES_COUNT', 'width' => 15, 'align' => 'center', 'sorteable'=>false, 'hideable'=>false);
$caseColumns[] = array( 'header' => '', 'dataIndex' => 'CASE_SUMMARY', 'width' => 25, 'align' => 'center', 'sorteable'=>false, 'hideable'=>false);
$caseColumns[] = array( 'header' => '', 'dataIndex' => 'CASE_NOTES_COUNT', 'width' => 25, 'align' => 'center', 'sorteable'=>false, 'hideable'=>false);
$caseColumns[] = array( 'header' => G::LoadTranslation('ID_CASE'), 'dataIndex' => 'APP_TITLE', 'width' => 150 );
$caseColumns[] = array( 'header' => 'UserUid', 'dataIndex' => 'USR_UID', 'width' => 50 , 'hidden'=> true, 'hideable'=> false);
$caseColumns[] = array( 'header' => 'PreUsrUid', 'dataIndex' => 'PREVIOUS_USR_UID', 'width' => 50 , 'hidden'=> true, 'hideable'=> false);

View File

@@ -480,14 +480,10 @@ function saveProcess()
waitMsg : _('ID_SAVING_PROCESS'),
timeout : 36000,
success : function(obj, resp) {
var editor = 'classic'; //Ext.getCmp('editor').getValue().getGroupValue();
if( editor == 'classic')
location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID;
else
location.href = '../bpmnDesigner?id='+resp.result.PRO_UID;
location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID;
},
failure: function(obj, resp) {
//Ext.Msg.alert( _('ID_ERROR'), resp.result.msg);
PMExt.error( _('ID_ERROR'), resp.result.msg);
}
});
}