Commit 0b7a602e authored by Dietmar Maurer's avatar Dietmar Maurer

make jslint happy

parent 1a1c0208
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment