HOR-2877 Missing changes apply.

This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-03-16 16:21:11 -04:00
parent 7dc9dd807b
commit ceb06249d1
2 changed files with 9 additions and 5 deletions

View File

@@ -681,13 +681,14 @@ class Consolidated
return Ext.isDate(value)? value.dateFormat('{$dateFormat}') : value;
} *";
if ($field->mode == "view") {
$editor = null;
}
//Important for windows servers, because the character '\r'
//breaks the json definition.
$editor = $this->removeLineBreaks($editor);
$renderer = $this->removeLineBreaks($renderer);
if ($field->mode == "view") {
$editor = null;
}
$caseColumns[] = array("header" => $fieldLabel, "dataIndex" => $field->name, "width" => (int) ($width), "editor" => $editor, "renderer" => $renderer, "frame" => true, "clicksToEdit" => 1, "sortable" => true);
$caseReaderFields[] = array("name" => $field->name, "type" => "date");