Index: branches/5.2.x/core/admin_templates/categories/categories_edit.tpl =================================================================== diff -u -N -r15614 -r15858 --- branches/5.2.x/core/admin_templates/categories/categories_edit.tpl (.../categories_edit.tpl) (revision 15614) +++ branches/5.2.x/core/admin_templates/categories/categories_edit.tpl (.../categories_edit.tpl) (revision 15858) @@ -296,12 +296,7 @@ function reflectDirectLink() { $( get_control($field_mask, 'DirectLinkEnabled', undefined, '_cb') ).change( function ($e) { - if ( $(this).attr('checked') ) { - $('#direct_link').show(); - } - else { - $('#direct_link').hide(); - } + $('#direct_link').toggle($(this).prop('checked')); } ); } @@ -313,7 +308,7 @@ Application.setHook( 'c:*', function () { - $(':input:disabled', '#' + $form_name).attr('disabled', ''); + $(':input:disabled', '#' + $form_name).prop('disabled', false); } );