Fixed Github issue #20
This commit is contained in:
parent
97584b4a5b
commit
e74286667c
@ -25,6 +25,7 @@ This plugin uses [FontAwesome icons](http://fontawesome.io/)
|
|||||||
|
|
||||||
### Changelog
|
### Changelog
|
||||||
|
|
||||||
|
* **v 0.6.1** : fixed Github issue #20
|
||||||
* **v 0.6.0** : NOW WITH CUSTOM FIELDS SUPPORT ! (Github #19)
|
* **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.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
|
* **v 0.4.9** : fixed Github issue #17 : Datepicker fallback added for date fields
|
||||||
|
|||||||
@ -98,7 +98,8 @@ function initEditFields()
|
|||||||
var value = CF_VALUE_JSON[i].value;
|
var value = CF_VALUE_JSON[i].value;
|
||||||
if(info.visible && info.editable)
|
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;
|
var htmlCopy = $('#issue_custom_field_values_' + info.id).get(0).outerHTML;
|
||||||
// 2 technics with simple or double quote (safety first)
|
// 2 technics with simple or double quote (safety first)
|
||||||
|
|||||||
2
init.rb
2
init.rb
@ -6,7 +6,7 @@ Redmine::Plugin.register :redmine_issue_dynamic_edit do
|
|||||||
name 'Redmine Dynamic edit Issue plugin'
|
name 'Redmine Dynamic edit Issue plugin'
|
||||||
author 'Hugo Zilliox'
|
author 'Hugo Zilliox'
|
||||||
description 'Allows users to dynamically update issue attributes in detailed view without refreshing the page (JIRA style)'
|
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'
|
url 'https://github.com/ilogeek/redmine_issue_dynamic_edit'
|
||||||
author_url 'https://hzilliox.fr'
|
author_url 'https://hzilliox.fr'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user