Mgalctc editracer dropdown

Now we have dropdown list on "Change numbers modal" with disabled that numbers, that exist in this car class.
I forgot delete all excess code, I'll delete it before merge. 
I can do it, but this function is used in another place too

-----Початкове повідомлення-----
Від: "Larry0ua" <notifications@github.com>
Надіслано: ‎28.‎07.‎2014 12:16
Кому: "nromanen/Ch-023" <Ch-023@noreply.github.com>
Копія: "galchuk" <kolio5991@gmail.com>
Тема: Re: [Ch-023] Mgalctc editracer dropdown (#16)

In src/main/webapp/resources/js/racer.js:
> +			var url = $("#get_occupied_numbers_url").val();
> +			var json = { "carClassId" : carClassId };
> +			
> +			$.ajax({
> +		        url: url,
> +		        data: JSON.stringify(json),
> +		        contentType: 'application/json',
> +		        type: "POST",
> +		        async: false,
> +		        success: function(response) {
> +		        	if(response != "error"){
> +		        		numbers = response.split(",");
> +		        		response = "";
> +		        		for (var j = 0; j < numbers.length-1; j++) {
> +		        			if (numbers[j] != racerNumberInCarClass) {
> +		        				response += numbers[j] + ",";
save this as an array, don't split in disableOccupiedNumbers if possible.
—
Reply to this email directly or view it on GitHub.