Subversion Repositories SmartDukaan

Rev

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

Rev 7791 Rev 7793
Line 204... Line 204...
204
			$("#shipping_time_1").hide();
204
			$("#shipping_time_1").hide();
205
			$("#shipping_time .red").html("<img src='/images/loader_l.gif'>");
205
			$("#shipping_time .red").html("<img src='/images/loader_l.gif'>");
206
		},
206
		},
207
		success: function(msg)	{
207
		success: function(msg)	{
208
			var response = eval('(' + msg + ')');
208
			var response = eval('(' + msg + ')');
209
			var deliveryEstimate = parseInt(response['delivery_estimate']);
209
			var deliveryEstimate = response['delivery_estimate'];
210
			var isCODAvailableForLocation = (response['is_cod_available_for_location'] === 'true');
210
			var isCODAvailableForLocation = (response['is_cod_available_for_location'] === 'true');
211
			var isOTG = (response['on_time_guarantee'] === 'true');
211
			var isOTG = (response['on_time_guarantee'] === 'true');
212
			
212
			
213
			if(deliveryEstimate == -1)	{
213
			if(deliveryEstimate == -1)	{
214
				$("#shipping_time").hide();
214
				$("#shipping_time").hide();