3 $(
'form').submit(
function() {
4 if ($(
this).data(
'submitted')) {
8 $(
this).data(
'submitted',
true);
13 $(
'.elgg-combo-checkbox').
click(
function() {
14 if ($(
this).is(
':checked')) {
15 $(
this).prev().attr(
'disabled',
true);
16 $(
this).prev().val(
'');
18 $(
this).prev().attr(
'disabled',
false);
22 $(
'.elgg-install-language').
change(
function(index, elem) {
23 location.href = $(
this).val();
34 elgg.installer.rewriteTest =
function(url, success_msg, nextURL) {
36 success:
function(data, status, xhr) {
37 if (data ==
'success') {
38 $(
'.elgg-require-rewrite li').attr(
'class',
'pass elgg-message elgg-message-success')
39 .html(
'<p>' + success_msg +
'</p>');
40 $(
'.elgg-install-nav a.elgg-state-disabled')
41 .removeClass(
'elgg-state-disabled')
42 .attr(
'href', nextURL);
function elgg combo checkbox click(function(){if($(this).is(':checked')){$(this).prev().attr('disabled', true);$(this).prev().val('');}else{$(this).prev().attr('disabled', false);}})
elgg install language change(function(index, elem){location.href=$(this).val();})