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">
|
print '<script type="text/javascript" language="javascript">
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
jQuery("#main_lang_default").change(function() {
|
$("#main_lang_default").change(function() {
|
||||||
jQuery("#check_MAIN_LANG_DEFAULT").attr(\'checked\', true);
|
$("#check_MAIN_LANG_DEFAULT").attr(\'checked\', true);
|
||||||
});
|
});
|
||||||
jQuery("#main_size_liste_limit").keyup(function() {
|
$("#main_size_liste_limit").keyup(function() {
|
||||||
if (jQuery("#main_size_liste_limit").val() == \'\') jQuery("#check_SIZE_LISTE_LIMIT").attr(\'checked\', false);
|
if ($(this).val().length) $("#check_SIZE_LISTE_LIMIT").attr(\'checked\', true);
|
||||||
else jQuery("#check_SIZE_LISTE_LIMIT").attr(\'checked\', true);
|
else $("#check_SIZE_LISTE_LIMIT").attr(\'checked\', false);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>';
|
</script>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user