Skip to content

Commit

Permalink
Added custom button as hidden by default to get around lazy load issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsharman committed Jan 29, 2024
1 parent cb4f813 commit af3a687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/module-_Extensions_essayLimitByCharacter.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h4 class="name" id=".run">run<span class="signature">(includeSpaces)</span><spa
&quot;options&quot;: {
&quot;name&quot;: &quot;btn-essay-character-limit-submit&quot;,
&quot;label&quot;: &quot;Finish&quot;,
&quot;icon_class&quot;: &quot;item-next&quot;
&quot;icon_class&quot;: &quot;item-next hidden&quot;
},
&quot;position&quot;: &quot;right&quot;
},
Expand Down Expand Up @@ -220,7 +220,7 @@ <h4 class="name" id=".run">run<span class="signature">(includeSpaces)</span><spa
&quot;options&quot;: {
&quot;name&quot;: &quot;btn-essay-character-limit-submit&quot;,
&quot;label&quot;: &quot;Finish&quot;,
&quot;icon_class&quot;: &quot;item-next&quot;
&quot;icon_class&quot;: &quot;item-next hidden&quot;
},
&quot;position&quot;: &quot;right&quot;
},
Expand Down
8 changes: 4 additions & 4 deletions src/extensions/validation/essayLimitByCharacter.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const state = {
* "options": {
* "name": "btn-essay-character-limit-submit",
* "label": "Finish",
* "icon_class": "item-next"
* "icon_class": "item-next hidden"
* },
* "position": "right"
* },
Expand Down Expand Up @@ -111,7 +111,7 @@ const state = {
* "options": {
* "name": "btn-essay-character-limit-submit",
* "label": "Finish",
* "icon_class": "item-next"
* "icon_class": "item-next hidden"
* },
* "position": "right"
* },
Expand Down Expand Up @@ -517,11 +517,11 @@ function submit() {
show_submit_ui: true,

success: function (response_ids) {
console.log('Submit was successful', response_ids);
logger.info('Submit was successful', response_ids);
},

error: function (event) {
console.log('Submit has failed', event);
logger.error('Submit has failed', event);
},
};

Expand Down

0 comments on commit af3a687

Please sign in to comment.