]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - js/install.js
Fix RDFS namespace declaration.
[quix0rs-gnu-social.git] / js / install.js
1 $(document).ready(function(){
2     $.ajax({url:'check-fancy',
3         type:'GET',
4         success:function(data, textStatus) {
5             $('#fancy-enable').attr('checked', true);
6             $('#fancy-disable').attr('checked', false);
7             $('#fancy-form_guide').text(data);
8         },
9         error:function(XMLHttpRequest, textStatus, errorThrown) {
10             $('#fancy-enable').attr('checked', false);
11             $('#fancy-disable').attr('checked', true);
12             $('#fancy-enable').attr('disabled', true);
13             $('#fancy-disable').attr('disabled', true);
14             $('#fancy-form_guide').text("Fancy URL support detection failed, disabling this option. Make sure you renamed htaccess.sample to .htaccess.");
15         }
16     });
17 });
18