Bug 6030 fixed. Process Information not editable

This commit is contained in:
Hugo Loza
2011-02-19 18:59:35 +00:00
parent cce75f6df8
commit ba81ff71ef
2 changed files with 66 additions and 13 deletions

View File

@@ -17,7 +17,54 @@ $oHeadPublisher =& headPublisher::getSingleton();
//$oHeadPublisher->usingExtJs('ux/ColumnHeaderGroup');
//G::pr($TRANSLATIONS_STARTCASE);
print "<img src='/images/gears.gif' valign='absmiddle'>&nbsp;".G::LoadTranslation('ID_LOADING');
//print "<br /><br /><br /><br /><center><img src='/images/gears.gif' valign='absmiddle' width='35'><br />".G::LoadTranslation('ID_LOADING')."</center>";
$loadingHTML ='
<style>
#loading-mask{
position:absolute;
left:0;
top:0;
width:100%;
height:100%;
background-color:white;
}
#loading{
position:absolute;
left:40%;
top:37%;
padding:2px;
height:auto;
}
#loading a {
color:#225588;
}
#loading .loading-indicator{
background:white;
color:#444;
font:bold 13px tahoma,arial,helvetica;
padding:10px;
margin:0;
height:auto;
}
#loading-msg {
font: bold 11px arial,tahoma,sans-serif;
}
</style>
<div id="loading-mask" style=""></div>
<div id="loading">
<div class="loading-indicator">
<center>
<img src="/images/gears.gif" valign="absmiddle" width="35"><br />
<span id="loading-msg">'.G::LoadTranslation('ID_LOADING').'</span><br />
</center>
</div>
</div>
';
print_r($loadingHTML);
switch($page){
case "startCase":

View File

@@ -184,6 +184,9 @@ Ext.onReady(function() {
},
{
xtype: 'grid',
fieldLabel: ' ',
labelSeparator : '',
labelStyle: 'font-color:white;',
ds: processNumbers,
cm: new Ext.grid.ColumnModel([
@@ -197,7 +200,7 @@ Ext.onReady(function() {
,
//autoExpandColumn: 'company',
//height: 350,
height: 45,
width: 355,
//title: TRANSLATIONS.ID_GENERAL_PROCESS_NUMBERS, // 'General Process Numbers',
border: true,
@@ -227,28 +230,31 @@ Ext.onReady(function() {
xtype:'checkboxgroup',
fieldLabel: TRANSLATIONS.ID_WORKING_DAYS, // 'Working days',
name: 'calendarWorkDays',
// disabled: true,
disabled: true,
readOnly: true,
labelStyle: 'font-weight:bold;',
disabledClass:"",
labelStyle: 'font-weight:bold',
id:"calendarWorkDays",
columns: 7,
items: [
{boxLabel: TRANSLATIONS.ID_SUN, name: '0'},
{boxLabel: TRANSLATIONS.ID_MON, name: '1'},
{boxLabel: TRANSLATIONS.ID_TUE, name: '2'},
{boxLabel: TRANSLATIONS.ID_WEN, name: '3'},
{boxLabel: TRANSLATIONS.ID_THU, name: '4'},
{boxLabel: TRANSLATIONS.ID_FRI, name: '5'},
{boxLabel: TRANSLATIONS.ID_SAT, name: '6'}
{boxLabel: TRANSLATIONS.ID_SUN, name: '0',disabledClass:""},
{boxLabel: TRANSLATIONS.ID_MON, name: '1',disabledClass:""},
{boxLabel: TRANSLATIONS.ID_TUE, name: '2',disabledClass:""},
{boxLabel: TRANSLATIONS.ID_WEN, name: '3',disabledClass:""},
{boxLabel: TRANSLATIONS.ID_THU, name: '4',disabledClass:""},
{boxLabel: TRANSLATIONS.ID_FRI, name: '5',disabledClass:""},
{boxLabel: TRANSLATIONS.ID_SAT, name: '6',disabledClass:""}
]
}, {
xtype:'checkbox',
fieldLabel: TRANSLATIONS.ID_DEBUG_MODE, // 'Debug Mode',
name: 'processDebug',
labelStyle: 'font-weight:bold;',
// disabled: true,
disabled: true,
readOnly: true,
id:"processDebug"
id:"processDebug",
disabledClass:""
}]
}
],