Fix: best practice
This commit is contained in:
parent
70eb10daf7
commit
5fb22d689b
@ -147,12 +147,12 @@ if ($action == 'edit')
|
||||
{
|
||||
print '<script type="text/javascript" language="javascript">
|
||||
jQuery(document).ready(function() {
|
||||
jQuery("#main_lang_default").change(function() {
|
||||
jQuery("#check_MAIN_LANG_DEFAULT").attr(\'checked\', true);
|
||||
$("#main_lang_default").change(function() {
|
||||
$("#check_MAIN_LANG_DEFAULT").attr(\'checked\', true);
|
||||
});
|
||||
jQuery("#main_size_liste_limit").keyup(function() {
|
||||
if (jQuery("#main_size_liste_limit").val() == \'\') jQuery("#check_SIZE_LISTE_LIMIT").attr(\'checked\', false);
|
||||
else jQuery("#check_SIZE_LISTE_LIMIT").attr(\'checked\', true);
|
||||
$("#main_size_liste_limit").keyup(function() {
|
||||
if ($(this).val().length) $("#check_SIZE_LISTE_LIMIT").attr(\'checked\', true);
|
||||
else $("#check_SIZE_LISTE_LIMIT").attr(\'checked\', false);
|
||||
});
|
||||
});
|
||||
</script>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user