]> git.proxmox.com Git - pmg-gui.git/commitdiff
jslint: add missing semicolons
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 23 Oct 2017 13:01:11 +0000 (15:01 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 23 Oct 2017 15:30:43 +0000 (17:30 +0200)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
18 files changed:
js/ClamAVDatabase.js
js/Dashboard.js
js/DomainStatistics.js
js/FetchmailView.js
js/MailProxyOptions.js
js/MailProxyRelaying.js
js/MailProxyTLS.js
js/RuleConfiguration.js
js/SpamDetectorOptions.js
js/SpamQuarantineOptions.js
js/SystemOptions.js
js/UserBlackWhiteList.js
js/UserEdit.js
js/UserView.js
js/VirusDetectorOptions.js
js/VirusQuarantineOptions.js
js/dashboard/MailProcessing.js
js/dashboard/SubscriptionInfo.js

index b6a3f3012800d02bf56db2cd3038f91907672218..005a593eeea38ba27d69d2178fe5f34dc0dce7a6 100644 (file)
@@ -152,7 +152,7 @@ Ext.define('PMG.ClamAVDatabase', {
                        upid: upid
                    });
                    win.show();
-                   me.mon(win, 'close', function() { statusPanel.reload() });
+                   me.mon(win, 'close', function() { statusPanel.reload(); });
                }
            });
        };
@@ -162,7 +162,7 @@ Ext.define('PMG.ClamAVDatabase', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { editPanel.run_editor() },
+               handler: function() { editPanel.run_editor(); },
                selModel: selModel
             },
            {
index 7dcc83183ded9a586ef2e030674514b1be020ed3..c395d149f22a7798885e2d5c77128e6466617236 100644 (file)
@@ -142,10 +142,10 @@ Ext.define('PMG.Dashboard', {
            var cpuPanel = me.lookup('cpu');
            cpuPanel.updateValue(cpu);
 
-           var memPanel = me.lookup('mem')
+           var memPanel = me.lookup('mem');
            memPanel.updateValue(mem);
 
-           var hdPanel = me.lookup('hd')
+           var hdPanel = me.lookup('hd');
            hdPanel.updateValue(hd);
        },
 
index 72784d449ae329c387fca3973122043699f977ba..c105f79a1cafcedc669a2387b378f2b2711c1131 100644 (file)
@@ -48,7 +48,7 @@ Ext.define('PMG.DomainStatistics', {
                store_in.setData(records);
                store_out.setData(records);
            }
-       })
+       });
 
        var render_domain = function(v) {
            return v === '' ? '--- EMPTY ADDRESS ---' : Ext.htmlEncode(v);
index 4e7260488a0f4cfb7d20a57f5630b775add127a4..08df001969a4e92ffc4956afc7281b724c303bdb 100644 (file)
@@ -41,7 +41,7 @@ Ext.define('PMG.FetchmailView', {
                url: view.baseurl,
                method: 'POST'
             });
-            win.on('destroy', function() { view.store.load() });
+            win.on('destroy', function() { view.store.load(); });
             win.show();
        },
 
index 7312b5fffb5888b62c9ba2d75cd73f0a868b68d3..b4294bfecda4d832caec64acd495eeb27a9f66cf 100644 (file)
@@ -75,7 +75,7 @@ Ext.define('PMG.MailProxyOptions', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index e11ea3aea85df4e4c4c3248f0f680fab498394ba..1fca392ef7672516475b916912aeaf67a2cdacf5 100644 (file)
@@ -29,7 +29,7 @@ Ext.define('PMG.MailProxyRelaying', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index a2b1e863bac7b4836f6b0a17ebed52c5e687cbfd..f45115bacd6cc3bff5c868e263071f9e44f1b234 100644 (file)
@@ -22,7 +22,7 @@ Ext.define('PMG.MailProxyTLS', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index a28fa875b73c3197966d555ff10261a8c8c7f333..86c5f02d4d071a44040797348556d71a8a616d06 100644 (file)
@@ -148,7 +148,7 @@ Ext.define('PMG.RulesConfiguration', {
                        iconCls: 'fa fa-minus-circle',
                        reference: 'removeButton',
                        callback: 'reload',
-                       getRecordName: function(rec) { return rec.data.name },
+                       getRecordName: function(rec) { return rec.data.name; },
                        bind: {
                            baseurl: '{baseUrl}'
                        }
index 2c2ecf46328e525ccc32139f26e4105397f39bc6..60aeb3fefd765ab12c1d76ec6368f74ea759fc65 100644 (file)
@@ -46,7 +46,7 @@ Ext.define('PMG.SpamDetectorOptions', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index ca4c7b9d39c5f138005d51cdfbbab833851c056a..0a3cff78a0f1f8c54fd6ff3d01ba9b497e222353 100644 (file)
@@ -77,7 +77,7 @@ Ext.define('PMG.SpamQuarantineOptions', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index 4be49bd6a7e7c82aa612bc585d2971978d2ffb9e..089b59858a4cc208547b0722ab90f157b7d7777f 100644 (file)
@@ -81,5 +81,4 @@ Ext.define('PMG.SystemOptions', {
        me.on('activate', me.rstore.startUpdate);
        me.on('destroy', me.rstore.stopUpdate);
     }
-})
-
+});
index 2f20b92d5d98757fc2a50429231cf929266fed14..7255b6b0ca5355a05d7231d4a34036156d58769d 100644 (file)
@@ -58,7 +58,7 @@ Ext.define('PMG.UserBlackWhiteList', {
            }
 
            var win = Ext.createWidget('proxmoxWindowEdit', config);
-           win.on('destroy', function() { me.store.load() });
+           win.on('destroy', function() { me.store.load(); });
            win.show();
        },
 
index bf66dcfe26680896889f480cf5c030580b427fc6..94271faee3f0d6996a3253fab0273c6844dcf5c8 100644 (file)
@@ -28,7 +28,7 @@ Ext.define('PMG.UserEdit', {
        return {
            useridXType: userid ? 'displayfield' : 'textfield',
            isSuperUser: userid === 'root@pam'
-       }
+       };
     },
 
     items: {
index 0a7fd7054ae8fd89d699d19c1b15aef4a8d38424..0b5728cff98f4170fc3dc040a4706cfc4e4c2006 100644 (file)
@@ -57,7 +57,7 @@ Ext.define('PMG.UserView', {
            var view = this.getView();
 
             var win = Ext.create('PMG.UserEdit', {});
-            win.on('destroy', function() { view.reload() });
+            win.on('destroy', function() { view.reload(); });
             win.show();
        },
 
@@ -69,7 +69,7 @@ Ext.define('PMG.UserView', {
             var win = Ext.create('PMG.UserEdit', {
                userid: rec.data.userid
             });
-            win.on('destroy', function() { view.reload() });
+            win.on('destroy', function() { view.reload(); });
             win.show();
        },
 
@@ -79,7 +79,7 @@ Ext.define('PMG.UserView', {
            var win = Ext.create('Proxmox.window.PasswordEdit',{
                 userid: rec.data.userid
            });
-            win.on('destroy', function() { view.reload() });
+            win.on('destroy', function() { view.reload(); });
            win.show();
        },
 
index 30fba4c94a19d37e4b10c94d551bfa40418da01a..3d34bacab1a9593855e919b80dc56ca5bd5a61f3 100644 (file)
@@ -39,7 +39,7 @@ Ext.define('PMG.VirusDetectorOptions', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index 87485dfd64e4831a0c4b226399827ca418fae786..839a62e029e3f2652795977d6682c7ee9709044c 100644 (file)
@@ -26,7 +26,7 @@ Ext.define('PMG.VirusQuarantineOptions', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
index 42e2e2ab28168d5c0bc7bf3473e1fc206b419f52..a460176dbbe10e64191c8b2393f0a66250621098 100644 (file)
@@ -51,4 +51,4 @@ Ext.define('PMG.dashboard.MailProcessing', {
            ]
        }
     ]
-})
+});
index 220cef2ce659927ea3a4981d3a77d7a9d06a7740..1b224ffeb253b4916c3c49af7eeb4578d7ac133a 100644 (file)
@@ -50,4 +50,4 @@ Ext.define('PMG.dashboard.SubscriptionInfo', {
            }
        }
     }
-})
+});