[*] Project : Jquery 1.7.2

This commit is contained in:
fBrignoli
2012-04-20 15:45:43 +00:00
parent 5ad963ae19
commit d5c0d7a80d
20 changed files with 106 additions and 265 deletions
+4 -4
View File
@@ -14,7 +14,7 @@ $(document).ready(function()
'dbPassword': $('#dbPassword').val(),
'dbEngine': $('#dbEngine').val(),
'db_prefix': $('#db_prefix').val(),
'clear': $('#db_clear').attr('checked') ? '1' : '0'
'clear': $('#db_clear').prop('checked') ? '1' : '0'
},
dataType: 'json',
cache: false,
@@ -38,12 +38,12 @@ $(document).ready(function()
});
// Check mails configuration
if (!$('#set_stmp').attr('checked'))
if (!$('#set_stmp').prop('checked'))
$("div#mailSMTPParam").hide();
$("#set_stmp").click(function()
{
if ($("input#set_stmp").attr('checked'))
if ($("input#set_stmp").prop('checked'))
$("div#mailSMTPParam").slideDown('slow');
else
$("div#mailSMTPParam").slideUp('slow');
@@ -64,7 +64,7 @@ $(document).ready(function()
'smtpPassword': $('#smtpPassword').val(),
'testEmail': $('#smtpSrv').val(),
'testEmail': $('#testEmail').val(),
'smtpChecked': ($('#set_stmp').attr('checked') ? 'true' : 'false')
'smtpChecked': ($('#set_stmp').prop('checked') ? 'true' : 'false')
},
dataType: 'json',
cache: false,
+2 -2
View File
@@ -9,7 +9,7 @@ $(document).ready(function()
});
// Desactivate next button if licence checkbox is not checked
if (!$('#set_license').attr('checked'))
if (!$('#set_license').prop('checked'))
{
$('#btNext').addClass('disabled').attr('disabled', true);
}
@@ -17,7 +17,7 @@ $(document).ready(function()
// Activate / desactivate next button when licence checkbox is clicked
$('#set_license').click(function()
{
if ($(this).attr('checked'))
if ($(this).prop('checked'))
$('#btNext').removeClass('disabled').attr('disabled', false);
else
$('#btNext').addClass('disabled').attr('disabled', true);
+2 -1
View File
@@ -82,4 +82,5 @@
<li <?php if ($this->isStepFinished($step)): ?>class="ok"<?php endif; ?>><?php echo $this->l('menu_'.$this->step) ?></li>
<?php endforeach; ?>
</ul>
</div>
</div>