diff --git a/README.md b/README.md index b77310ce..04ed5827 100644 --- a/README.md +++ b/README.md @@ -112,9 +112,16 @@ If you have any requests, bug reports, please use GitHub issues. + +* Bugfix: template_type is not defined error (GitHub: #364 / Thanks for reporting issue, @toku463ne) + ### 1.0.4 -Release to implememted some additional built-in/custom fields support. +Release to implemented some additional built-in/custom fields support. * Feature: Add preselected watchers to templates. (GitHub: #302) * Feature: Enabled to define assignees and categories. (GitHub: #362) diff --git a/assets/javascripts/template_checklists.js b/assets/javascripts/template_checklists.js index 0924165d..13672175 100644 --- a/assets/javascripts/template_checklists.js +++ b/assets/javascripts/template_checklists.js @@ -28,14 +28,14 @@ const addCheckListItem = (value) => { span.classList.add('text') let checkListText = document.createTextNode(value) - span.appendChild(checkListText); + span.appendChild(checkListText) let hidden = document.createElement('input') hidden.classList.add('checklist-item') hidden.value = value hidden.setAttribute('type', 'hidden') - hidden.setAttribute('id', template_type + '_checklist') - hidden.setAttribute('name', template_type + '[checklists][]') + hidden.setAttribute('id', templateType + '_checklist') + hidden.setAttribute('name', templateType + '[checklists][]') li.appendChild(hidden) diff --git a/init.rb b/init.rb index e59f1929..d7d43bad 100644 --- a/init.rb +++ b/init.rb @@ -47,7 +47,7 @@ def template_menu_allowed? name 'Redmine Issue Templates plugin' author 'Akiko Takano' description 'Plugin to generate and use issue templates for each project to assist issue creation.' - version '1.0.4' + version '1.0.5' author_url 'http://twitter.com/akiko_pusu' requires_redmine version_or_higher: '4.0' url 'https://github.com/akiko-pusu/redmine_issue_templates'