mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-14 03:10:26 +00:00
jslint: add missing semicolons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
de0ebd99a1
commit
131ba4f60a
@ -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
|
||||
},
|
||||
{
|
||||
|
@ -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);
|
||||
},
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
},
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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}'
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -81,5 +81,4 @@ Ext.define('PMG.SystemOptions', {
|
||||
me.on('activate', me.rstore.startUpdate);
|
||||
me.on('destroy', me.rstore.stopUpdate);
|
||||
}
|
||||
})
|
||||
|
||||
});
|
||||
|
@ -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();
|
||||
},
|
||||
|
||||
|
@ -28,7 +28,7 @@ Ext.define('PMG.UserEdit', {
|
||||
return {
|
||||
useridXType: userid ? 'displayfield' : 'textfield',
|
||||
isSuperUser: userid === 'root@pam'
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
items: {
|
||||
|
@ -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();
|
||||
},
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -51,4 +51,4 @@ Ext.define('PMG.dashboard.MailProcessing', {
|
||||
]
|
||||
}
|
||||
]
|
||||
})
|
||||
});
|
||||
|
@ -50,4 +50,4 @@ Ext.define('PMG.dashboard.SubscriptionInfo', {
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user