HOR-2877 Missing changes apply.
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -848,13 +848,16 @@ function generateGrid(proUid, tasUid, dynUid) {
|
||||
}
|
||||
|
||||
function ajaxDerivationRequest(appUid, delIndex, maxLenght, appNumber, fieldGridGral, fieldGridGralVal) {
|
||||
if (fieldGridGralVal !== null) {
|
||||
fieldGridGralVal = stringReplace("\\x2F", "__FRASL__", fieldGridGralVal);
|
||||
}
|
||||
Ext.Ajax.request({
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': 'Bearer ' + credentials.access_token
|
||||
},
|
||||
url: urlProxy + 'derivate/' + appUid + '/' + appNumber + '/' + delIndex + '/' + fieldGridGral + '/' + stringReplace("\\x2F", "__FRASL__", fieldGridGralVal) + '/',
|
||||
url: urlProxy + 'derivate/' + appUid + '/' + appNumber + '/' + delIndex + '/' + fieldGridGral + '/' + fieldGridGralVal + '/',
|
||||
success: function (response) {
|
||||
var dataResponse;
|
||||
var fullResponseText = response.responseText;
|
||||
|
||||
Reference in New Issue
Block a user