Skip to content

Commit ebe8a67

Browse files
MDL-65788 tool_policy: Move accept_policy JS call into an array
1 parent 559a99c commit ebe8a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/tool/policy/classes/form/accept_policy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function definition() {
111111
}
112112
}
113113

114-
$PAGE->requires->js_call_amd('tool_policy/policyactions', 'init', '[data-action="view"]');
114+
$PAGE->requires->js_call_amd('tool_policy/policyactions', 'init', ['[data-action="view"]']);
115115
}
116116

117117
/**

0 commit comments

Comments
 (0)