Subversion Repositories SmartDukaan

Rev

Rev 24052 | Rev 24072 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24052 Rev 24056
Line 379... Line 379...
379
		doAjaxRequestWithJsonHandler('partner/location', 'PUT', JSON.stringify(coords), function(){
379
		doAjaxRequestWithJsonHandler('partner/location', 'PUT', JSON.stringify(coords), function(){
380
			latitude = position.coords.latitude;
380
			latitude = position.coords.latitude;
381
			longitude = position.coords.longitude;
381
			longitude = position.coords.longitude;
382
		});
382
		});
383
	}
383
	}
384
	var distance = getDistance(latitude, longitude, position.coords.latitude, position.coords.longitude);
384
	//distance = getDistance(latitude, longitude, position.coords.latitude, position.coords.longitude);
385
}
385
}
386
386