| 611 | if (state) { | 611 | if (state) { |
| 612 | $('#instruct_system_sequence_block').addClass('disabled'); | 612 | $('#instruct_system_sequence_block').addClass('disabled'); |
| 613 | $('#instruct_system_suffix_block').addClass('disabled'); | 613 | $('#instruct_system_suffix_block').addClass('disabled'); |
| 614 | $('#instruct_system_sequence').css('height', 'auto'); | | |
| 615 | $('#instruct_system_suffix').css('height', 'auto'); | | |
| 616 | $('#instruct_system_sequence').prop('contenteditable', false); | 614 | $('#instruct_system_sequence').prop('contenteditable', false); |
| 617 | $('#instruct_system_suffix').prop('contenteditable', false); | 615 | $('#instruct_system_suffix').prop('contenteditable', false); |
| 618 | } else { | 616 | } else { |
| 619 | $('#instruct_system_sequence_block').removeClass('disabled'); | 617 | $('#instruct_system_sequence_block').removeClass('disabled'); |
| 620 | $('#instruct_system_suffix_block').removeClass('disabled'); | 618 | $('#instruct_system_suffix_block').removeClass('disabled'); |
| 621 | $('#instruct_system_sequence').css('height', ''); | | |
| 622 | $('#instruct_system_suffix').css('height', ''); | | |
| 623 | $('#instruct_system_sequence').prop('contenteditable', true); | 619 | $('#instruct_system_sequence').prop('contenteditable', true); |
| 624 | $('#instruct_system_suffix').prop('contenteditable', true); | 620 | $('#instruct_system_suffix').prop('contenteditable', true); |
| 625 | } | 621 | } |