make jslint happy

This commit is contained in:
Dietmar Maurer 2011-08-25 09:38:51 +02:00
parent 10b4a98868
commit e7b954166a
2 changed files with 2 additions and 2 deletions

View File

@ -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!

View File

@ -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) {