]>
git.proxmox.com Git - pmg-gui.git/blob - js/SpamInfoGrid.js
1 Ext
.define('PMG.grid.SpamInfoGrid',{
2 extend
: 'Ext.grid.GridPanel',
3 xtype
: 'pmgSpamInfoGrid',
7 if (!rec
|| !rec
.data
|| !rec
.data
.id
) {
8 me
.getStore().removeAll();
17 url
: '/api2/json/quarantine/content?id='+rec
.data
.id
,
23 emptyText
: gettext('No Spam Info'),
32 text
: gettext('Test Name'),
36 summaryRenderer: function(value
, summaryData
, dataIndex
, metaData
) {
37 return gettext('Spamscore');
41 text
: gettext('Score'),
45 summaryRenderer: function(value
, summaryData
, dataIndex
, metaData
) {
46 return Ext
.util
.Format
.round(value
, 5);
50 text
: gettext('Description'),