]> git.proxmox.com Git - pmg-gui.git/commitdiff
jslint: remove trailing commas
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 23 Oct 2017 13:01:09 +0000 (15:01 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 23 Oct 2017 15:29:17 +0000 (17:29 +0200)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
38 files changed:
js/Application.js
js/ClamAVDatabase.js
js/ContactStatistics.js
js/Dashboard.js
js/FetchmailEdit.js
js/FetchmailView.js
js/HourlyMailDistribution.js
js/LDAPConfig.js
js/MailProxyOptions.js
js/MailProxyPorts.js
js/MailProxyRelaying.js
js/MailProxyTLS.js
js/MailStatGrid.js
js/MailTracker.js
js/NavigationTree.js
js/PostfixMailQueue.js
js/PostfixQShape.js
js/QuarantineList.js
js/QuarantineView.js
js/QueueAdministration.js
js/RBLStatistics.js
js/ReceiverStatistics.js
js/RuleConfiguration.js
js/SenderStatistics.js
js/SpamDetectorLanguages.js
js/SpamDetectorOptions.js
js/SpamInfoGrid.js
js/SpamQuarantineOptions.js
js/SpamScoreDistribution.js
js/SystemConfiguration.js
js/SystemOptions.js
js/UserBlackWhiteList.js
js/UserEdit.js
js/UserView.js
js/Utils.js
js/VirusDetectorOptions.js
js/VirusQuarantineOptions.js
js/dashboard/MiniGraph.js

index ae8c9d5d3f3b012994e3eeec61c0007d9d544e3a..38c80e8983440d8aec3a7ca5b94b152beb472ea8 100644 (file)
@@ -31,7 +31,7 @@ Ext.define('PMG.Application', {
        me.currentView.destroy();
        me.currentView = Ext.create({
            xtype: view,
-           targetview: me.targetview,
+           targetview: me.targetview
        });
        if (skipCheck !== true) {
            Proxmox.Utils.checked_command(function() {}); // display subscription status
index 529b314add5dd6384a234f7acc1b63926801241b..80a85823e514bbaeaeb8afbab18782c8d8611e84 100644 (file)
@@ -19,7 +19,7 @@ Ext.define('PMG.ClamAVDatabaseConfig', {
        Ext.apply(me, {
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
@@ -98,7 +98,7 @@ Ext.define('PMG.ClamAVDatabaseStatus', {
                    flex: 1,
                    sortable: true,
                    dataIndex: 'nsigs'
-               },
+               }
            ],
            listeners: {
                activate: me.reload
index e255cd2373ce48814a6f94a030eb8e2370c091a6..f50b42f587bff37954042d60db0fd074cfd5c0f7 100644 (file)
@@ -82,7 +82,7 @@ Ext.define('PMG.ContactDetails', {
            header: gettext('Time'),
            format: 'H:i:s',
            dataIndex: 'time'
-       },
+       }
     ],
 
     initComponent: function() {
@@ -119,7 +119,7 @@ Ext.define('PMG.ContactList', {
            'contact',
            { type: 'integer', name: 'count' },
            { type: 'integer', name: 'viruscount' },
-           { type: 'integer', name: 'bytes' },
+           { type: 'integer', name: 'bytes' }
        ],
        proxy: {
            type: 'pmgfilterproxy',
@@ -192,7 +192,7 @@ Ext.define('PMG.ContactStatistics', {
     layout: 'border',
     border: false,
     defaults: {
-       border: false,
+       border: false
     },
 
     controller: {
@@ -219,7 +219,7 @@ Ext.define('PMG.ContactStatistics', {
            layout: 'fit',
            flex: 1,
 
-           listeners: { selectionchange: 'selectionChange' },
+           listeners: { selectionchange: 'selectionChange' }
        },
        {
            xtype: 'pmgContactDetails',
index eed3173d710b9669ab996842bcd53c99c06894ed..4fc35fd0db8f0796cde3444f1c267cba0de7366d 100644 (file)
@@ -42,7 +42,7 @@ Ext.define('PMG.Dashboard', {
                            win.close();
                        }
                    }]
-               }],
+               }]
            }).show();
        },
 
@@ -156,7 +156,7 @@ Ext.define('PMG.Dashboard', {
            hours: 12, // in hours
            'bytes_in': 0,
            'bytes_out': 0,
-           'avg_ptime': 0.0,
+           'avg_ptime': 0.0
        },
 
        stores: {
@@ -244,7 +244,7 @@ Ext.define('PMG.Dashboard', {
                    type: 'proxmox',
                    url: '/api2/json/statistics/recentreceivers',
                    extraParams: {
-                       hours: '{hours}',
+                       hours: '{hours}'
                    }
                },
                fields: [
@@ -288,7 +288,7 @@ Ext.define('PMG.Dashboard', {
            title: gettext('E-Mail Volume'),
            layout: {
                type: 'vbox',
-               align: 'stretch',
+               align: 'stretch'
            },
            defaults: {
                xtype: 'pmgMiniGraph',
@@ -309,8 +309,8 @@ Ext.define('PMG.Dashboard', {
                        highlightCfg: {
                            opacity: 1,
                            scaling: 1
-                       },
-                   },
+                       }
+                   }
                },
                {
                    fields: ['spam'],
@@ -324,9 +324,9 @@ Ext.define('PMG.Dashboard', {
                        highlightCfg: {
                            opacity: 1,
                            scaling: 1
-                       },
-                   },
-               },
+                       }
+                   }
+               }
            ]
        },
        {
@@ -334,7 +334,7 @@ Ext.define('PMG.Dashboard', {
            height: 300,
            layout: {
                type: 'vbox',
-               align: 'stretch',
+               align: 'stretch'
            },
            items: [
                {
@@ -348,7 +348,7 @@ Ext.define('PMG.Dashboard', {
                            'out': '{bytes_out}',
                            'ptime': '{avg_ptime}'
                        }
-                   },
+                   }
                },
                {
                    iconCls: 'fa fa-ticket',
@@ -356,7 +356,7 @@ Ext.define('PMG.Dashboard', {
                    reference: 'subscription',
                    xtype: 'pmgSubscriptionInfo',
                    margin: '10 0 0 0',
-                   height: 110,
+                   height: 110
                }
            ]
        },
@@ -416,7 +416,7 @@ Ext.define('PMG.Dashboard', {
                columnLines: false,
                rowLines: false,
                viewConfig: {
-                   stripeRows: false,
+                   stripeRows: false
                },
 
                columns: [
index 455552f88e10d87a99f6c52060cdaadaf498f9ad..f019d14ea8928191759c663888572db9259ecfcc 100644 (file)
@@ -73,7 +73,7 @@ Ext.define('PMG.FetchmailEdit', {
                name: 'target',
                fieldLabel: gettext('Deliver to'),
                allowBlank: false
-           },
+           }
 
        ],
        column2: [
index e29ad06eb30a5b29281ff52b0b042c2c531d8b27..4e7260488a0f4cfb7d20a57f5630b775add127a4 100644 (file)
@@ -5,7 +5,7 @@ Ext.define('pmg-fetchmail-users', {
        'id', 'protocol', 'port', 'server', 'user', 'pass', 'target',
        'ssl', 'keep',
        { type: 'integer', name: 'interval' },
-       { type: 'boolean', name: 'enable' },
+       { type: 'boolean', name: 'enable' }
     ],
     proxy: {
         type: 'proxmox',
@@ -39,7 +39,7 @@ Ext.define('PMG.FetchmailView', {
 
             var win = Ext.create('PMG.FetchmailEdit', {
                url: view.baseurl,
-               method: 'POST',
+               method: 'POST'
             });
             win.on('destroy', function() { view.store.load() });
             win.show();
@@ -84,12 +84,12 @@ Ext.define('PMG.FetchmailView', {
            reference: 'removeBtn',
            callback: 'onAfterRemove',
            waitMsgTarget: true
-       },
+       }
     ],
 
     listeners: {
        //scope: 'controller',
-       itemdblclick: 'onEdit',
+       itemdblclick: 'onEdit'
     },
 
     columns: [
index 6ec85300a3d7d8ec5fc1c1bb6e5e298c5ca0558f..bb96cc95caa453f039701c3ead9424acbb654608 100644 (file)
@@ -83,7 +83,7 @@ Ext.define('PMG.HourlyMailDistribution', {
                { type: 'integer', name: 'viruscount_in' },
                { type: 'integer', name: 'viruscount_ou' },
                { type: 'integer', name: 'bounces_in' },
-               { type: 'integer', name: 'bounces_out' },
+               { type: 'integer', name: 'bounces_out' }
            ]
        });
 
index a8b221018be83ff32d4f9f0b9387c6645cc84908..27a94429d266c60d1067ba6f19641e23e07fcc98 100644 (file)
@@ -76,7 +76,7 @@ Ext.define('PMG.LDAPInputPanel', {
                deleteEmpty: me.create ? false : true,
                minValue: 1,
                maxValue: 65535,
-               fieldLabel: gettext('Port'),
+               fieldLabel: gettext('Port')
            },
            {
                xtype: 'textfield',
@@ -294,7 +294,7 @@ Ext.define('PMG.LDAPConfig', {
                    },
                    columns: [
                        { dataIndex: 'email', text: gettext('E-Mail address'), flex: 1 }
-                   ],
+                   ]
                }]
            }).show();
        },
@@ -373,7 +373,7 @@ Ext.define('PMG.LDAPConfig', {
            region: 'center',
            reference: 'grid',
            xtype: 'pmgLDAPConfigGrid',
-           border: false,
+           border: false
        },
        {
            xtype: 'tabpanel',
@@ -426,11 +426,11 @@ Ext.define('PMG.LDAPConfig', {
                    }],
                    bind: {
                        title: Ext.String.format(gettext("Users of '{0}'"), '{name}')
-                   },
+                   }
                }
            ]
        }
-    ],
+    ]
 
 });
 
@@ -450,7 +450,7 @@ Ext.define('PMG.LDAPConfigGrid', {
            }
 
            var win = Ext.createWidget('pmgLDAPEdit', {
-               profileId: rec.data.profile,
+               profileId: rec.data.profile
            });
            win.on('destroy', me.reload, me);
            win.load();
@@ -516,7 +516,7 @@ Ext.define('PMG.LDAPConfigGrid', {
        {
            xtype: 'proxmoxStdRemoveButton',
            baseurl: '/config/ldap',
-           callback: 'reload',
+           callback: 'reload'
        },
        {
            xtype: 'proxmoxButton',
@@ -526,7 +526,7 @@ Ext.define('PMG.LDAPConfigGrid', {
            },
            disabled: true,
            handler: 'sync'
-       },
+       }
     ],
 
     listeners: {
@@ -589,7 +589,7 @@ Ext.define('PMG.LDAPConfigGrid', {
            width: 80,
            sortable: true,
            dataIndex: 'gcount'
-       },
-    ],
+       }
+    ]
 
 });
index 873bd852b49624ad1b08ef00c5543bf38467fcb4..c3ede9aa597f95e8ae8702ef66b278f46afe1f93 100644 (file)
@@ -74,7 +74,7 @@ Ext.define('PMG.MailProxyOptions', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index d1b638a48211dd58d6b4c1df214644c41909fc19..188d27e8f4f7a587423ec69fcb6d6f8939fb098f 100644 (file)
@@ -7,7 +7,7 @@ Ext.define('PMG.MailProxyPorts', {
     monStoreErrors: true,
 
     editorConfig: {
-       url: '/api2/extjs/config/mail',
+       url: '/api2/extjs/config/mail'
     },
 
     interval: 5000,
@@ -24,7 +24,7 @@ Ext.define('PMG.MailProxyPorts', {
     },
 
     listeners: {
-       itemdblclick: 'onEdit',
+       itemdblclick: 'onEdit'
     },
 
     tbar: [
index f97372d5547ab95aaefb2936a83da4b5bb5f74d8..e11ea3aea85df4e4c4c3248f0f680fab498394ba 100644 (file)
@@ -34,7 +34,7 @@ Ext.define('PMG.MailProxyRelaying', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index 3b2e02505d4e4bc69a203ee91be25d858a912b30..a2b1e863bac7b4836f6b0a17ebed52c5e687cbfd 100644 (file)
@@ -27,7 +27,7 @@ Ext.define('PMG.MailProxyTLS', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index 4e90ae2eef9018d412d89a06a684f746e9c8ee99..831541b8a5f4b7a9f7c6e2c8576042b024d041f1 100644 (file)
@@ -6,7 +6,7 @@ Ext.define('PMG.MailStatGrid', {
     hideHeaders: true,
 
     store: {
-       fields: [ 'name', 'value', 'percentage' ],
+       fields: [ 'name', 'value', 'percentage' ]
     },
 
     columns: [
index 7f4042e6a4ff9be736390d0f30a19efd61068eec..a992c6aa82a39d9cbddfeb77b4b49fb1ec595aa7 100644 (file)
@@ -217,7 +217,7 @@ Ext.define('PMG.MailTracker', {
     plugins: [
        {
            ptype: 'rowexpander',
-           rowBodyTpl: '<p class="logs">{logs}</p>',
+           rowBodyTpl: '<p class="logs">{logs}</p>'
        }
     ],
 
index 3f0c8493a1968884c9964cdbce739e5bb0d2a5fc..b9550d5bb6583e9310a5fb00c4267e4636b6aa33 100644 (file)
@@ -22,25 +22,25 @@ Ext.define('PMG.store.NavigationStore', {
                        text: gettext('Action Objects'),
                        iconCls: 'fa fa-flag',
                        path: 'pmgActionList',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Who Objects'),
                        iconCls: 'fa fa-user-circle',
                        path: 'pmgWhoConfiguration',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('What Objects'),
                        iconCls: 'fa fa-cube',
                        path: 'pmgWhatConfiguration',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('When Objects'),
                        iconCls: 'fa fa-clock-o',
                        path: 'pmgWhenConfiguration',
-                       leaf: true,
+                       leaf: true
                    }
                ]
            },
@@ -54,31 +54,31 @@ Ext.define('PMG.store.NavigationStore', {
                        text: gettext('Mail Proxy'),
                        iconCls: 'fa fa-envelope-o',
                        path: 'pmgMailProxyConfiguration',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Spam Detector'),
                        iconCls: 'fa fa-bullhorn',
                        path: 'pmgSpamDetectorConfiguration',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Virus Detector'),
                        iconCls: 'fa fa-bug',
                        path: 'pmgVirusDetectorConfiguration',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('User Management'),
                        iconCls: 'fa fa-users',
                        path: 'pmgUserManagement',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Cluster'),
                        iconCls: 'fa fa-server',
                        path: 'pmgClusterAdministration',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Subscription'),
@@ -98,37 +98,37 @@ Ext.define('PMG.store.NavigationStore', {
                        text: gettext('Spam Quarantine'),
                        iconCls: 'fa fa-bullhorn',
                        path: 'pmgSpamQuarantine',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Virus Quarantine'),
                        iconCls: 'fa fa-bug',
                        path: 'pmgVirusQuarantine',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('User Whitelist'),
                        iconCls: 'fa fa-file-o',
                        path: 'pmgUserWhitelist',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('User Blacklist'),
                        iconCls: 'fa fa-file',
                        path: 'pmgUserBlacklist',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Tracking Center'),
                        iconCls: 'fa fa-map-o',
                        path: 'pmgMailTracker',
-                       leaf: true,
+                       leaf: true
                    },
                    {
                        text: gettext('Queues'),
                        iconCls: 'fa fa-bars',
                        path: 'pmgQueueAdministration',
-                       leaf: true,
+                       leaf: true
                    }
                ]
            },
index 80c5cdf51205e307dd768f48ee60c7b7ede8522e..d757309fce6270ce01a4227a01e9a73c230f6e39 100644 (file)
@@ -88,7 +88,7 @@ Ext.define('PMG.Postfix.MailQueue', {
 
            var win = Ext.create('PMG.ViewMailHeaders', {
                title: view.title + ' : ' + rec.data.queue_id,
-               url: url,
+               url: url
            });
            win.show();
        },
index 2a43e2d772432c21159850d535707b566d88e48b..2f0b073c1443b36d77d5fdb75d98bb5bfa46eae9 100644 (file)
@@ -87,7 +87,7 @@ Ext.define('PMG.Postfix.QShape', {
                activate: function() {
                    this.view.store.load(); // reload
                }
-           },
+           }
        }
     },
 
index ffe1dc285f67ff5ca8f1e34c81399dbfdd35e594..fbd6fad0b5e2ffbcb136dd822c43e7da0736f795 100644 (file)
@@ -159,7 +159,7 @@ Ext.define('PMG.QuarantineList', {
 
        control: {
            '#':{
-               beforedestroy: 'resetEmail',
+               beforedestroy: 'resetEmail'
            },
            'combobox[reference=email]': {
                change: {
index 06e74764a58371cae2fd7042fb1df3b9ba45e44a..2721d2280d7c893fe0eb4cea5d55f7e02fafce47 100644 (file)
@@ -23,13 +23,13 @@ Ext.define('PMG.QuarantineNavigationTree', {
                            text: gettext('Whitelist'),
                            //iconCls: 'fa fa-cubes',
                            path: 'pmgUserWhitelist',
-                           leaf: true,
+                           leaf: true
                        },
                        {
                            text: gettext('Blacklist'),
                            //iconCls: 'fa fa-cubes',
                            path: 'pmgUserBlacklist',
-                           leaf: true,
+                           leaf: true
                        }
                    ]
                }
@@ -237,7 +237,7 @@ Ext.define('PMG.QuarantineView', {
            layout: 'card',
            region: 'center',
            border: false,
-           reference: 'contentpanel',
+           reference: 'contentpanel'
        }
     ]
 });
index 544439701e3b0ff53271a5e6a0885b45db5b0e16..e72a9f956a36c3952ad52762e1011c91bfef5b07 100644 (file)
@@ -30,7 +30,7 @@ Ext.define('PMG.QueueAdministration', {
 
        control: {
            pmgPostfixQShape: {
-               itemdblclick: 'onSelect',
+               itemdblclick: 'onSelect'
            }
        }
     },
index bce2f8f22df7e858b2db6f29cfcef0df771ace53..f6939c5311b5a973b0afc51b81370a8b3b7841fc 100644 (file)
@@ -18,7 +18,7 @@ Ext.define('PMG.RBLStatistics', {
            legend: false,
            fields: [ 'count' ],
            fieldTitles: [
-               gettext('RBL rejects'),
+               gettext('RBL rejects')
            ],
            store: {
                type: 'pmgStatStore',
index 773f8590f504c2d934529ba998f2086832d38982..bccd483f5df7a508156f9b7a0414bd915f955c77 100644 (file)
@@ -204,7 +204,7 @@ Ext.define('PMG.ReceiverStatistics', {
     layout: 'border',
     border: false,
     defaults: {
-       border: false,
+       border: false
     },
 
     controller: {
@@ -231,7 +231,7 @@ Ext.define('PMG.ReceiverStatistics', {
            layout: 'fit',
            flex: 1,
 
-           listeners: { selectionchange: 'selectionChange' },
+           listeners: { selectionchange: 'selectionChange' }
        },
        {
            xtype: 'pmgReceiverDetails',
index d230d4b5dbd0f78ca4ef7771d4c258db555fb49a..9f28472f9aa2f97c6d22145dcb1e6b15bbf5b633 100644 (file)
@@ -17,7 +17,7 @@ Ext.define('PMG.RulesConfiguration', {
     layout: 'border',
     border: false,
     defaults: {
-       border: false,
+       border: false
     },
 
     controller: {
@@ -112,7 +112,7 @@ Ext.define('PMG.RulesConfiguration', {
        data: {
            selectedRule: undefined,
            baseUrl: '/config/ruledb/rules'
-       },
+       }
     },
 
     items: [
@@ -135,7 +135,7 @@ Ext.define('PMG.RulesConfiguration', {
                        xtype: 'button',
                        text: gettext('Add'),
                        iconCls: 'fa fa-plus-circle',
-                       reference: 'addButton',
+                       reference: 'addButton'
                    },
                    {
                        xtype: 'proxmoxStdRemoveButton',
@@ -171,7 +171,7 @@ Ext.define('PMG.RulesConfiguration', {
                        direction: 'DESC'
                    },
                    {
-                       property: 'name',
+                       property: 'name'
                    }
                ]
            },
@@ -181,16 +181,16 @@ Ext.define('PMG.RulesConfiguration', {
                {
                    text: 'Active',
                    dataIndex: 'active',
-                   hidden : true,
+                   hidden : true
                },
                {
                    text: 'Name',
                    dataIndex: 'name',
-                   flex: 1,
+                   flex: 1
                },
                {
                    text: 'Priority',
-                   dataIndex: 'priority',
+                   dataIndex: 'priority'
                },
                {
                    text: 'Direction',
@@ -216,7 +216,7 @@ Ext.define('PMG.RulesConfiguration', {
                                return (rec.get('active') ? 'Deactivate' : 'Activate');
                            },
                            handler: 'toggleIconClick'
-                       },
+                       }
                    ]
                }
            ]
@@ -226,7 +226,7 @@ Ext.define('PMG.RulesConfiguration', {
            reference: 'infopanel',
            xtype: 'pmgRuleInfo',
            split: true,
-           width: 440,
+           width: 440
        }
     ]
 });
index b685c50244373e8d34ffbd8d89d31cf0813cb91a..89ad40818725b0060872b84a8590c428662def2c 100644 (file)
@@ -82,7 +82,7 @@ Ext.define('PMG.SenderDetails', {
            header: gettext('Time'),
            format: 'H:i:s',
            dataIndex: 'time'
-       },
+       }
     ],
 
     initComponent: function() {
@@ -192,7 +192,7 @@ Ext.define('PMG.SenderStatistics', {
     layout: 'border',
     border: false,
     defaults: {
-       border: false,
+       border: false
     },
 
     controller: {
@@ -219,7 +219,7 @@ Ext.define('PMG.SenderStatistics', {
            layout: 'fit',
            flex: 1,
 
-           listeners: { selectionchange: 'selectionChange' },
+           listeners: { selectionchange: 'selectionChange' }
        },
        {
            xtype: 'pmgSenderDetails',
index cd30107d79cb19153189b464fccd2d476297a34e..b30e3ab8f67c76dd9abab1ad33567961de7b60c3 100644 (file)
@@ -66,7 +66,7 @@ Ext.define('PMG.SpamDetectorLanguagesInputPanel', {
        [ 'uk', 'Ukrainian' ],
        [ 'vi', 'Vietnamese' ],
        [ 'yi', 'Yiddish' ],
-       [ 'zh', 'Chinese' ],
+       [ 'zh', 'Chinese' ]
     ],
 
     onGetValues: function(values) {
index 87005429238a2e217d6b9529b3ad5deeac191b68..2c2ecf46328e525ccc32139f26e4105397f39bc6 100644 (file)
@@ -51,7 +51,7 @@ Ext.define('PMG.SpamDetectorOptions', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index a1b3324fde50a8f2f6a24346b22eb991a38dfc3c..309533df946a569e05e5f28e0f98a862bd21b6d1 100644 (file)
@@ -55,5 +55,5 @@ Ext.define('PMG.grid.SpamInfoGrid',{
            dataIndex: 'desc',
            flex: 3
        }
-    ],
+    ]
 });
index 9806ca7217808aec846e1a55b8c9a7c5dcaf73ff..9eea97f57100b916da3f1095cd0bbe41e8f09a45 100644 (file)
@@ -36,7 +36,7 @@ Ext.define('PMG.SpamQuarantineOptions', {
            comboItems: [
                ['ticket', render_authmode('ticket') ],
                ['ldap', render_authmode('ldap') ],
-               ['ldapticket', render_authmode('ldapticket') ]],
+               ['ldapticket', render_authmode('ldapticket') ]]
        });
 
        var render_reportstyle = function(value) {
@@ -51,7 +51,7 @@ Ext.define('PMG.SpamQuarantineOptions', {
                ['short', render_reportstyle('short') ],
                ['verbose', render_reportstyle('verbose') ],
                ['outlook', render_reportstyle('outlook') ],
-               ['custom', render_reportstyle('custom') ]],
+               ['custom', render_reportstyle('custom') ]]
        });
 
        me.add_text_row('hostname', gettext('Quarantine Host'),
@@ -79,7 +79,7 @@ Ext.define('PMG.SpamQuarantineOptions', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index f67aa33f893567e9e225c863b854afc440e500b0..6bd117026255f012ffefb869b5a8df786ca1ef40 100644 (file)
@@ -25,7 +25,7 @@ Ext.define('PMG.SpamScoreDistribution', {
                    }
                }
            }
-       ],
+       ]
     },
 
     columns: [
@@ -48,7 +48,7 @@ Ext.define('PMG.SpamScoreDistribution', {
            widget: {
                xtype: 'progressbarwidget',
                textTpl: ['{percent:number("0")}%' ]
-           },
+           }
        }
     ]
 });
index e921e94239830f9f54fa38bcd071efd3447f67ad..741d54b9db75b021852ebc6df6dd1c610bdae53d 100644 (file)
@@ -54,7 +54,7 @@ Ext.define('PMG.SystemConfiguration', {
            layout: {
                type: 'vbox',
                align: 'stretch',
-               multi: true,
+               multi: true
            },
            bodyPadding: '0 0 10 0',
            defaults: {
@@ -68,7 +68,7 @@ Ext.define('PMG.SystemConfiguration', {
                    minHeight: 200,
                    title: gettext('Interfaces'),
                    xtype: 'proxmoxNodeNetworkView',
-                   nodename: Proxmox.NodeName,
+                   nodename: Proxmox.NodeName
                },
                {
                    title: gettext('DNS'),
@@ -79,7 +79,7 @@ Ext.define('PMG.SystemConfiguration', {
                    title: gettext('Time'),
                    xtype: 'proxmoxNodeTimeView',
                    nodename: Proxmox.NodeName
-               },
+               }
            ]
        },
        {
@@ -94,7 +94,7 @@ Ext.define('PMG.SystemConfiguration', {
        {
            itemId: 'options',
             title: gettext('Options'),
-           xtype: 'pmgSystemOptions',
+           xtype: 'pmgSystemOptions'
        }
     ]
 });
index 1d02639f796ade2d24591492fc0daba99d4e1aa1..4be49bd6a7e7c82aa612bc585d2971978d2ffb9e 100644 (file)
@@ -29,7 +29,7 @@ Ext.define('PMG.SystemOptions', {
     }],
 
     listeners: {
-       itemdblclick: 'onEdit',
+       itemdblclick: 'onEdit'
     },
 
     add_proxy_row: function(name, text, opts) {
index 8db16e0a351a05f154c76eb43f9816f4e084fe08..477e1881f66a7b01202247f5191fb030eaa40bfc 100644 (file)
@@ -34,7 +34,7 @@ Ext.define('PMG.UserBlackWhiteList', {
                items.push({
                    xtype: 'hidden',
                    name: key,
-                   value: value,
+                   value: value
                });
            });
 
@@ -132,7 +132,7 @@ Ext.define('PMG.UserBlackWhiteList', {
            editable: true,
            reference: 'email',
            name: 'email',
-           fieldLabel: 'E-Mail',
+           fieldLabel: 'E-Mail'
        },
        {
            text: gettext('Add'),
@@ -178,7 +178,7 @@ Ext.define('PMG.UserBlacklist', {
        proxy: {
             type: 'proxmox',
             url: "/api2/json/quarantine/blacklist"
-       },
+       }
     },
 
     dockedItems: [
@@ -187,7 +187,7 @@ Ext.define('PMG.UserBlacklist', {
            bodyStyle: {
                padding: '10px',
                'border-left': '0px',
-               'border-right': '0px',
+               'border-right': '0px'
            },
             html: gettext('With this feature, you can manually mark E-mails from certain domains or addresses as spam.') + '<br><br>' +
                '<b>*.com</b> (all mails from <b>.com</b> domains)' + '<br>' +
@@ -212,7 +212,7 @@ Ext.define('PMG.UserWhitelist', {
        proxy: {
             type: 'proxmox',
             url: "/api2/json/quarantine/whitelist"
-       },
+       }
     },
 
     dockedItems: [
@@ -221,7 +221,7 @@ Ext.define('PMG.UserWhitelist', {
            bodyStyle: {
                padding: '10px',
                'border-left': '0px',
-               'border-right': '0px',
+               'border-right': '0px'
            },
             html: gettext('With this feature, you can manually bypass spam checking for certain domains or E-mail addresses.') + '<br><br>' +
                '<b>*.com</b> (all mails from <b>.com</b> domains)' + '<br>' +
index b0bf39e37652d6038632cc1e8bc8da996983fbc4..5811c242e263f12679a4368f3ed2e85a16c3d2b0 100644 (file)
@@ -25,7 +25,7 @@ Ext.define('PMG.UserEdit', {
 
        return {
            useridXType: userid ? 'displayfield' : 'textfield',
-           isSuperUser: userid === 'root@pam',
+           isSuperUser: userid === 'root@pam'
        }
     },
 
@@ -39,7 +39,7 @@ Ext.define('PMG.UserEdit', {
                allowBlank: false,
                cbind: {
                    submitValue: '{create}',
-                   xtype: '{useridXType}',
+                   xtype: '{useridXType}'
                }
            },
            {
index 5588be038ccc7d5ca5bc1da2e1d21bb8c3425325..e1cb972c830e68426bd52c82e13aaa9a656616e1 100644 (file)
@@ -89,7 +89,7 @@ Ext.define('PMG.UserView', {
 
     listeners: {
        scope: 'controller',
-       itemdblclick: 'onEdit',
+       itemdblclick: 'onEdit'
     },
 
     tbar: [
index 2f714e1e9dd43dfc22ab71b40cc31f9cd6285163..7a8e6115de59947b370fcbb8f436ac555f8cf61d 100644 (file)
@@ -17,7 +17,7 @@ Ext.define('PMG.Utils', {
        root: gettext('Superuser'),
        admin: gettext('Administrator'),
        qmanager: gettext('Quarantine Manager'),
-       audit: gettext('Auditor'),
+       audit: gettext('Auditor')
     },
 
     format_user_role: function(role) {
index bfd3101bc19fcaf0178e3815d142326004aa2f88..30fba4c94a19d37e4b10c94d551bfa40418da01a 100644 (file)
@@ -44,7 +44,7 @@ Ext.define('PMG.VirusDetectorOptions', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index 4c28faee2b9ed9fa421828713d9afae867ef360a..87485dfd64e4831a0c4b226399827ca418fae786 100644 (file)
@@ -31,7 +31,7 @@ Ext.define('PMG.VirusQuarantineOptions', {
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
index 5736d8f2d551d15e267e34632b89df21f6a9bdc9..779148b85a6d116c40e9a8789b30a0b88d116dd2 100644 (file)
@@ -18,8 +18,8 @@ Ext.define('PMG.dashboard.MiniGraph', {
            },
            style: {
                axisLine: false,
-               majorTickSize: 0,
-           },
+               majorTickSize: 0
+           }
        },
        {
            type: 'time',
@@ -31,11 +31,11 @@ Ext.define('PMG.dashboard.MiniGraph', {
            },
            style: {
                axisLine: false,
-               majorTickSize: 0,
+               majorTickSize: 0
            }
        }
     ],
     border: false,
     flex: 1,
-    noTool: true,
+    noTool: true
 });