make jslint happy
This commit is contained in:
parent
10b4a98868
commit
e7b954166a
@ -62,7 +62,7 @@ Ext.apply(Ext.form.field.VTypes, {
|
||||
HttpProxy: function(v) {
|
||||
return (/^http:\/\/.*$/).test(v);
|
||||
},
|
||||
HttpProxyText: "Must confirm to schema 'http://.*' (example: 'http://username:password\@host:port/')"
|
||||
HttpProxyText: "Must confirm to schema 'http://.*' (example: 'http://username:password@host:port/')"
|
||||
});
|
||||
|
||||
// we dont want that a displayfield set the form dirty flag!
|
||||
|
@ -120,7 +120,7 @@ Ext.define('PVE.dc.AuthEdit', {
|
||||
if (!me.create) {
|
||||
me.load({
|
||||
success: function(response, options) {
|
||||
var data = response.result.data;
|
||||
var data = response.result.data || {};
|
||||
var count = 1;
|
||||
while (data['server' + count.toString()]) {
|
||||
if (data.servers) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user