Skip to content

Commit

Permalink
Theme uplift: OSEP - Styling: OU wiki #339219
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiet.Chan authored and sammarshallou committed Aug 27, 2019
1 parent 34ee4bb commit 59a5e9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion annotate_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public function definition() {
}

if ($canlock) {
$mform->addElement('checkbox', 'lockediting', get_string('lockediting', 'ouwiki'));
$mform->addElement('checkbox', 'lockediting', get_string('lockediting', 'ouwiki'), '', [
'class' => 'lockediting']);
if (ouwiki_is_page_editing_locked($pageid)) {
$mform->setDefault('lockediting', true);
} else {
Expand Down

0 comments on commit 59a5e9d

Please sign in to comment.