mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-16 03:15:35 +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
|
upid: upid
|
||||||
});
|
});
|
||||||
win.show();
|
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'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { editPanel.run_editor() },
|
handler: function() { editPanel.run_editor(); },
|
||||||
selModel: selModel
|
selModel: selModel
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -142,10 +142,10 @@ Ext.define('PMG.Dashboard', {
|
|||||||
var cpuPanel = me.lookup('cpu');
|
var cpuPanel = me.lookup('cpu');
|
||||||
cpuPanel.updateValue(cpu);
|
cpuPanel.updateValue(cpu);
|
||||||
|
|
||||||
var memPanel = me.lookup('mem')
|
var memPanel = me.lookup('mem');
|
||||||
memPanel.updateValue(mem);
|
memPanel.updateValue(mem);
|
||||||
|
|
||||||
var hdPanel = me.lookup('hd')
|
var hdPanel = me.lookup('hd');
|
||||||
hdPanel.updateValue(hd);
|
hdPanel.updateValue(hd);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Ext.define('PMG.DomainStatistics', {
|
|||||||
store_in.setData(records);
|
store_in.setData(records);
|
||||||
store_out.setData(records);
|
store_out.setData(records);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
|
||||||
var render_domain = function(v) {
|
var render_domain = function(v) {
|
||||||
return v === '' ? '--- EMPTY ADDRESS ---' : Ext.htmlEncode(v);
|
return v === '' ? '--- EMPTY ADDRESS ---' : Ext.htmlEncode(v);
|
||||||
|
@ -41,7 +41,7 @@ Ext.define('PMG.FetchmailView', {
|
|||||||
url: view.baseurl,
|
url: view.baseurl,
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
win.on('destroy', function() { view.store.load() });
|
win.on('destroy', function() { view.store.load(); });
|
||||||
win.show();
|
win.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ Ext.define('PMG.MailProxyOptions', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
url: '/api2/json' + baseurl,
|
||||||
|
@ -29,7 +29,7 @@ Ext.define('PMG.MailProxyRelaying', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
url: '/api2/json' + baseurl,
|
||||||
|
@ -22,7 +22,7 @@ Ext.define('PMG.MailProxyTLS', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
url: '/api2/json' + baseurl,
|
||||||
|
@ -148,7 +148,7 @@ Ext.define('PMG.RulesConfiguration', {
|
|||||||
iconCls: 'fa fa-minus-circle',
|
iconCls: 'fa fa-minus-circle',
|
||||||
reference: 'removeButton',
|
reference: 'removeButton',
|
||||||
callback: 'reload',
|
callback: 'reload',
|
||||||
getRecordName: function(rec) { return rec.data.name },
|
getRecordName: function(rec) { return rec.data.name; },
|
||||||
bind: {
|
bind: {
|
||||||
baseurl: '{baseUrl}'
|
baseurl: '{baseUrl}'
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ Ext.define('PMG.SpamDetectorOptions', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
url: '/api2/json' + baseurl,
|
||||||
|
@ -77,7 +77,7 @@ Ext.define('PMG.SpamQuarantineOptions', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
url: '/api2/json' + baseurl,
|
||||||
|
@ -81,5 +81,4 @@ Ext.define('PMG.SystemOptions', {
|
|||||||
me.on('activate', me.rstore.startUpdate);
|
me.on('activate', me.rstore.startUpdate);
|
||||||
me.on('destroy', me.rstore.stopUpdate);
|
me.on('destroy', me.rstore.stopUpdate);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ Ext.define('PMG.UserBlackWhiteList', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var win = Ext.createWidget('proxmoxWindowEdit', config);
|
var win = Ext.createWidget('proxmoxWindowEdit', config);
|
||||||
win.on('destroy', function() { me.store.load() });
|
win.on('destroy', function() { me.store.load(); });
|
||||||
win.show();
|
win.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Ext.define('PMG.UserEdit', {
|
|||||||
return {
|
return {
|
||||||
useridXType: userid ? 'displayfield' : 'textfield',
|
useridXType: userid ? 'displayfield' : 'textfield',
|
||||||
isSuperUser: userid === 'root@pam'
|
isSuperUser: userid === 'root@pam'
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
items: {
|
items: {
|
||||||
|
@ -57,7 +57,7 @@ Ext.define('PMG.UserView', {
|
|||||||
var view = this.getView();
|
var view = this.getView();
|
||||||
|
|
||||||
var win = Ext.create('PMG.UserEdit', {});
|
var win = Ext.create('PMG.UserEdit', {});
|
||||||
win.on('destroy', function() { view.reload() });
|
win.on('destroy', function() { view.reload(); });
|
||||||
win.show();
|
win.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ Ext.define('PMG.UserView', {
|
|||||||
var win = Ext.create('PMG.UserEdit', {
|
var win = Ext.create('PMG.UserEdit', {
|
||||||
userid: rec.data.userid
|
userid: rec.data.userid
|
||||||
});
|
});
|
||||||
win.on('destroy', function() { view.reload() });
|
win.on('destroy', function() { view.reload(); });
|
||||||
win.show();
|
win.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ Ext.define('PMG.UserView', {
|
|||||||
var win = Ext.create('Proxmox.window.PasswordEdit',{
|
var win = Ext.create('Proxmox.window.PasswordEdit',{
|
||||||
userid: rec.data.userid
|
userid: rec.data.userid
|
||||||
});
|
});
|
||||||
win.on('destroy', function() { view.reload() });
|
win.on('destroy', function() { view.reload(); });
|
||||||
win.show();
|
win.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Ext.define('PMG.VirusDetectorOptions', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
url: '/api2/json' + baseurl,
|
||||||
|
@ -26,7 +26,7 @@ Ext.define('PMG.VirusQuarantineOptions', {
|
|||||||
text: gettext('Edit'),
|
text: gettext('Edit'),
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
handler: function() { me.run_editor() },
|
handler: function() { me.run_editor(); },
|
||||||
selModel: me.selModel
|
selModel: me.selModel
|
||||||
}],
|
}],
|
||||||
url: '/api2/json' + baseurl,
|
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