You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
739 B
29 lines
739 B
jQuery(function($) {
|
|
|
|
$("#overlay").css({
|
|
opacity : 0.3,
|
|
top : 0,
|
|
left : 0,
|
|
width : $(window).width(),
|
|
height : $(window).height()
|
|
});
|
|
|
|
$("#loading").css({
|
|
top : ($(window).height() / 3),
|
|
left : ($(window).width() / 2 - 160)
|
|
});
|
|
|
|
$('form#install').submit(function(e) {
|
|
$('input[type=submit]', this).attr('disabled', 'disabled');
|
|
$('#overlay, #loading').show();
|
|
return true;
|
|
});
|
|
|
|
var recheck = setInterval(function() {
|
|
if (window.jstz !== undefined) {
|
|
clearInterval(recheck);
|
|
var zone = jstz.determine();
|
|
$('#timezone').val(zone.name());
|
|
}
|
|
}, 200);
|
|
});
|