Merged in bugfix/PMCORE-4048 (pull request #8635)

PMCORE-4048

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Martin Laguna
2022-11-16 16:03:01 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -181,7 +181,7 @@ Ext.onReady(function(){
},
columns: [
{id:'CATEGORY_UID', dataIndex: 'CATEGORY_UID', hidden:true, hideable:false},
{header: _('ID_CATEGORY_NAME'), dataIndex: 'CATEGORY_NAME', width: 500, hidden:false, align:'left'},
{header: _('ID_CATEGORY_NAME'), dataIndex: 'CATEGORY_NAME', width: 500, hidden:false, renderer: categoryNameRenderer, align:'left'},
{header: _('ID_PROCESSES'), dataIndex: 'TOTAL_PROCESSES', width: 100, hidden: false, align: 'center'}
]
});
@@ -282,6 +282,11 @@ Ext.onReady(function(){
});
});
//Sanitize output
categoryNameRenderer = function (value) {
return Ext.util.Format.htmlEncode(value);
};
//Funtion Handles Context Menu Opening
onMessageContextMenu = function (grid, rowIndex, e) {
e.stopEvent();