Skip to content

Commit f404bff

Browse files
committed
mend
1 parent 9892cf4 commit f404bff

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

edit_aitext_form.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ protected function definition_inner($mform) {
8989
$mform->setDefault('sampleanswer', '');
9090
$mform->addElement('static', 'spinner', '', '<div class ="hide col-md-9" id="id_spinner"></div>');
9191

92-
$mform->addElement('button', 'sampleanswerbtn"', get_string('sampleanswerevaluate', 'qtype_aitext'),);
92+
$mform->addElement('button', 'sampleanswerbtn', get_string('sampleanswerevaluate', 'qtype_aitext'));
9393
$mform->registerNoSubmitButton('sampleanswerbtn"');
9494

95-
9695
$options = [
9796
'cols' => 50,
9897
'rows' => 5,
@@ -101,7 +100,6 @@ protected function definition_inner($mform) {
101100

102101
$mform->addElement('textarea', 'sampleanswereval', get_string('sampleanswereval', 'qtype_aitext'), $options);
103102

104-
105103
$mform->setDefault('element_name', 'The default value');
106104

107105
$mform->addElement('header', 'responseoptions', get_string('responseoptions', 'qtype_aitext'));
@@ -147,7 +145,7 @@ protected function definition_inner($mform) {
147145
['rows' => 10], $this->editoroptions);
148146

149147
// Load any JS that we need to make things happen, specifically the prompt tester.
150-
$PAGE->requires->js_call_amd('qtype_aitext/responserun','init', [$this->context->id]);
148+
$PAGE->requires->js_call_amd('qtype_aitext/responserun', 'init', [$this->context->id]);
151149

152150
}
153151

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
defined('MOODLE_INTERNAL') || die();
2626

2727
$plugin->component = 'qtype_aitext';
28-
$plugin->version = 2024071802;
28+
$plugin->version = 2024071892;
2929
$plugin->requires = 2020110900;
3030
$plugin->release = '0.02';
3131
$plugin->maturity = MATURITY_BETA;

0 commit comments

Comments
 (0)