Infineon.EAF.Runtime 2.52.0
Infineon.EAF.Runtime 2.49.3 IDescription.GetDescriptions with body
This commit is contained in:
@ -1,12 +1,10 @@
|
||||
function compareFunction(a, b) {
|
||||
return a.Priority[0] - b.Priority[0] || a.Req.length - b.Req.length || a.Req - b.Req;
|
||||
return a['Priority'][0] - b['Priority'][0] || a['Req '].length - b['Req '].length || a['Req '] - b['Req '];
|
||||
}
|
||||
|
||||
function initIndex(url) {
|
||||
$.getJSON(url, function (data) {
|
||||
for (var i = data.length - 1; i > -1; i--) {
|
||||
if (data[i]['Subject - from Requestor'].length > 255)
|
||||
data[i]['Subject - from Requestor'] = data[i]['Subject - from Requestor'].substring(0, 255) + '...';
|
||||
if (data[i].Submitted !== '')
|
||||
continue;
|
||||
data.splice(i, 1);
|
||||
@ -23,7 +21,8 @@ function initIndex(url) {
|
||||
{ key: "Requestor", dataType: "string" },
|
||||
{ key: "Assigned To", dataType: "string" },
|
||||
{ key: "Second Resource", dataType: "string" },
|
||||
{ key: "Subject - from Requestor", dataType: "string", width: "30%" },
|
||||
{ key: "Subject - from Requestor", dataType: "string" },
|
||||
{ key: "System(s)", dataType: "string" },
|
||||
{ key: "Priority", dataType: "string" },
|
||||
],
|
||||
features: [
|
||||
|
Reference in New Issue
Block a user