Fixed Github issue #20

This commit is contained in:
Hugo 2018-02-02 21:56:49 +01:00
parent 97584b4a5b
commit e74286667c
3 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@ This plugin uses [FontAwesome icons](http://fontawesome.io/)
### Changelog
* **v 0.6.1** : fixed Github issue #20
* **v 0.6.0** : NOW WITH CUSTOM FIELDS SUPPORT ! (Github #19)
* **v 0.5.0** : fixed Github issue #18 : textarea fixed (jstoolbar or ckeditor)
* **v 0.4.9** : fixed Github issue #17 : Datepicker fallback added for date fields

View File

@ -98,7 +98,8 @@ function initEditFields()
var value = CF_VALUE_JSON[i].value;
if(info.visible && info.editable)
{
if($('.details .attributes .cf_' + info.id + '.attribute .value').length)
if($('.details .attributes .cf_' + info.id + '.attribute .value').length
&& $('#issue_custom_field_values_' + info.id).length )
{
var htmlCopy = $('#issue_custom_field_values_' + info.id).get(0).outerHTML;
// 2 technics with simple or double quote (safety first)

View File

@ -6,7 +6,7 @@ Redmine::Plugin.register :redmine_issue_dynamic_edit do
name 'Redmine Dynamic edit Issue plugin'
author 'Hugo Zilliox'
description 'Allows users to dynamically update issue attributes in detailed view without refreshing the page (JIRA style)'
version '0.6.0'
version '0.6.1'
url 'https://github.com/ilogeek/redmine_issue_dynamic_edit'
author_url 'https://hzilliox.fr'
end