Fix ajax handler name
This commit is contained in:
		
							parent
							
								
									3f63930ff8
								
							
						
					
					
						commit
						0f99cb0a4e
					
				| 
						 | 
				
			
			@ -137,8 +137,8 @@ function JStuffAjax(attr) {
 | 
			
		|||
	this.onReadyStateChange = function() {
 | 
			
		||||
		if (this.request.readyState == 4) {
 | 
			
		||||
			if (this.request.status === 200) {
 | 
			
		||||
				if (typeof (this.attr.load) !== 'undefined') {
 | 
			
		||||
					this.attr.load(this.request.status, this.request.responseText);
 | 
			
		||||
				if (typeof (this.attr.handler) !== 'undefined') {
 | 
			
		||||
					this.attr.handler(this.request.status, this.request.responseText);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			return true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue