2 $.ajax({url:'check-fancy',
4 success:function(data, textStatus) {
5 $('#fancy-enable').prop('checked', true);
6 $('#fancy-disable').prop('checked', false);
7 $('#fancy-form_guide').text(data);
9 error:function(XMLHttpRequest, textStatus, errorThrown) {
10 $('#fancy-enable').prop('checked', false);
11 $('#fancy-disable').prop('checked', true);
12 $('#fancy-enable').prop('disabled', true);
13 $('#fancy-disable').prop('disabled', true);
14 $('#fancy-form_guide').text("Fancy URL support detection failed, disabling this option. Make sure you renamed htaccess.sample to .htaccess.");