Elgg  Version master
Functions | Variables
install.js File Reference

Go to the source code of this file.

Functions

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();})
 

Variables

 elgg
 
elgg installer rewriteTest
 Check the rewrite address for "success" and then allows the installation to proceed. More...
 

Function Documentation

elgg install language change ( function(index, elem){location.href=$(this).val();}  )
function elgg combo checkbox click ( function(){if($(this).is(':checked')){$(this).prev().attr('disabled', true);$(this).prev().val('');}else{$(this).prev().attr('disabled', false);}}  )

Variable Documentation

elgg
Initial value:
= {
installer: {}
}

Definition at line 27 of file install.js.

elgg installer rewriteTest
Initial value:
= function(url, success_msg, nextURL) {
$.ajax(url, {
success: function(data, status, xhr) {
if (data == 'success') {
$('.elgg-require-rewrite li').attr('class', 'pass elgg-message elgg-message-success')
.html('<p>' + success_msg + '</p>');
$('.elgg-install-nav a.elgg-state-disabled')
.removeClass('elgg-state-disabled')
.attr('href', nextURL);
}
}
});
}

Check the rewrite address for "success" and then allows the installation to proceed.

Definition at line 34 of file install.js.