jslint: add missing semicolons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-10-23 15:01:11 +02:00 committed by Dietmar Maurer
parent de0ebd99a1
commit 131ba4f60a
18 changed files with 22 additions and 23 deletions

View 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
},
{

View 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);
},

View 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);

View 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();
},

View 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,

View 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,

View 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,

View 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}'
}

View 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,

View 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,

View File

@ -81,5 +81,4 @@ Ext.define('PMG.SystemOptions', {
me.on('activate', me.rstore.startUpdate);
me.on('destroy', me.rstore.stopUpdate);
}
})
});

View 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();
},

View File

@ -28,7 +28,7 @@ Ext.define('PMG.UserEdit', {
return {
useridXType: userid ? 'displayfield' : 'textfield',
isSuperUser: userid === 'root@pam'
}
};
},
items: {

View 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();
},

View 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,

View 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,

View File

@ -51,4 +51,4 @@ Ext.define('PMG.dashboard.MailProcessing', {
]
}
]
})
});

View File

@ -50,4 +50,4 @@ Ext.define('PMG.dashboard.SubscriptionInfo', {
}
}
}
})
});