Merge remote branch 'upstream/master' into BUG-10829
This commit is contained in:
@@ -3787,8 +3787,8 @@ class XmlForm_Field_CheckGroup extends XmlForm_Field
|
||||
} elseif ($this->mode === 'view') {
|
||||
$html = '';
|
||||
foreach ($this->options as $optionName => $option) {
|
||||
$html .= '<input class="FormCheck" id="form[' . $this->name . '][' . $optionName . ']" name="form[' . $this->name . '][]" type=\'checkbox\' value="' . $optionName . '"' . (in_array( $optionName, $value ) ? 'checked' : '') . ' disabled><span class="FormCheck"><label for="form[' . $this->name . '][' . $optionName . ']">' . $option . '</label></span></input><br>';
|
||||
$html .= '<input type="hidden" id="form[' . $this->name . '][' . $optionName . ']" name="form[' . $this->name . '][]" value="' . ((in_array( $optionName, $value )) ? $optionName : '') . '">';
|
||||
$html .= '<input class="FormCheck" id="form[' . $this->name . '][' . $optionName . ']" type=\'checkbox\' value="' . $optionName . '"' . (in_array( $optionName, $value ) ? 'checked' : '') . ' disabled><span class="FormCheck"><label for="form[' . $this->name . '][' . $optionName . ']">' . $option . '</label></span></input><br>';
|
||||
$html .= '<input type="hidden" name="form[' . $this->name . '][]" value="' . ((in_array( $optionName, $value )) ? $optionName : '') . '">';
|
||||
}
|
||||
return $html;
|
||||
} else {
|
||||
|
||||
@@ -90,7 +90,7 @@ function getProcessList ()
|
||||
$processInfoChild['myInbox'] = 0;
|
||||
$processInfoChild['totalInbox'] = 0;
|
||||
if (isset( $proData[$processInfoChild['pro_uid']] )) {
|
||||
$tempTreeChild['otherAttributes'] = array_merge( $processInfoChild, $proData[$processInfoChild['pro_uid']], $calendar->getCalendarFor( $processInfoChild['uid'], $processInfoChild['uid'], $processInfoChild['uid'] ) );
|
||||
$tempTreeChild['otherAttributes'] = array_merge( $processInfoChild, $proData[$processInfoChild['pro_uid']], $calendar->getCalendarFor( $_SESSION['USER_LOGGED'], $processInfoChild['pro_uid'], $processInfoChild['uid'] ) );
|
||||
$tempTreeChild['otherAttributes']['PRO_TAS_TITLE'] = str_replace( ")", "", str_replace( "(", "", trim( str_replace( $tempTreeChild['otherAttributes']['PRO_TITLE'], "", $tempTreeChild['otherAttributes']["value"] ) ) ) );
|
||||
$tempTreeChild['qtip'] = $tempTreeChild['otherAttributes']['PRO_DESCRIPTION'];
|
||||
//$tempTree['cls']='file';
|
||||
|
||||
@@ -1367,9 +1367,9 @@ Ext.onReady ( function() {
|
||||
root: 'data',
|
||||
fields : [
|
||||
{name : 'USR_UID'},
|
||||
{name : 'PRO_USERNAME'},
|
||||
{name : 'USR_USERNAME'},
|
||||
{name : 'USR_FIRSTNAME'},
|
||||
{name : 'PRO_LASTNAME'}
|
||||
{name : 'USR_LASTNAME'}
|
||||
]
|
||||
})
|
||||
});
|
||||
|
||||
@@ -324,7 +324,7 @@ function showDetailsA(selectedNode) {
|
||||
if ((selectedNode)&&(selectedNode.attributes.otherAttributes)) {
|
||||
otherAttributes = selectedNode.attributes.otherAttributes;
|
||||
calendarDays=(otherAttributes.CALENDAR_WORK_DAYS).split("|");
|
||||
calendarObj={};
|
||||
calendarObj={0: false, 1: false, 2: false, 3: false, 4: false, 5: false, 6: false};
|
||||
|
||||
for(i=0;i<calendarDays.length;i++){
|
||||
calendarObj[calendarDays[i]]=true;
|
||||
|
||||
Reference in New Issue
Block a user