Vergleich jscripts/validator.js - 1.4.2 - 1.4.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 136Zeile 136
					{
for(x = 0; x < options.extra_body.length; ++x)
{

					{
for(x = 0; x < options.extra_body.length; ++x)
{

							extra += "&" + options.extra_body[x] + "=" + this.getValue(options.extra_body[x]);

							extra += "&" + options.extra_body[x] + "=" + escape(this.getValue(options.extra_body[x]));

						}
}
else if(typeof options.extra_body != "undefined")
{

						}
}
else if(typeof options.extra_body != "undefined")
{

						extra = "&" + options.extra_body + "=" + this.getValue(options.extra_body);

						extra = "&" + options.extra_body + "=" + escape(this.getValue(options.extra_body));

					}


					}


					new Ajax.Request(options.url, {method:'post', postBody:"value=" + value + extra, onComplete: function(request) { this.ajaxValidateComplete(id, options, request); }.bind(this)});

					new Ajax.Request(options.url, {method:'post', postBody:"value=" + escape(value) + extra, onComplete: function(request) { this.ajaxValidateComplete(id, options, request); }.bind(this)});


return "loading";
break;
}
type = "notempty";
case "notempty":


return "loading";
break;
}
type = "notempty";
case "notempty":

 
				value = value.replace(/^\s+|\s+$/g,"");

				if(value == null || value.length == 0)
{
return false;

				if(value == null || value.length == 0)
{
return false;