From 750e602be34491dd3d9b172633965b4dd1cbab2d Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 15 Jan 2022 15:55:56 +0100 Subject: [PATCH] 0.8.1 update - Fixed issue #89 --- README.md | 1 + assets/javascripts/issue_dynamic_edit.js | 2 +- init.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a83063..96ab6a1 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ Feel free to edit `assets/stylesheets/issue_dynamic_edit.css` to update the look ### 🆕 Changelog +* **v 0.8.1** : fixed Github issue #89 : Issue version check (AJAX call) may give glitch while editing text + disable global event listener on ajaxSend * **v 0.8.0** : Complete rework. Compatible with last Redmine version. New settings added : `_CONF_CHECK_ISSUE_UPDATE_CONFLICT` (#70 #88). Removed external lib (FontAwesome) (#74). Mobile style added (#87). Print style added (#84). Bug fix (#79, #85) * **v 0.7.2** : New settings added into config file (`_CONF_DISPLAY_EDIT_ICON` and `_CONF_LISTENER_TYPE_ICON`) see Configuration part for more info ; new event `none` for `_CONF_LISTENER_TYPE_VALUE` disabling listener on value ; css fix * **v 0.7.1** : Fixed incorrect DOM structure if user has read only access to the issue (#61 #64) diff --git a/assets/javascripts/issue_dynamic_edit.js b/assets/javascripts/issue_dynamic_edit.js index bce218c..a9ed881 100644 --- a/assets/javascripts/issue_dynamic_edit.js +++ b/assets/javascripts/issue_dynamic_edit.js @@ -206,7 +206,7 @@ let checkVersion = function(callback){ type: 'GET', url: LOCATION_HREF, crossDomain: true, - async: false, + global: false, success: function(msg) { let parsed = $.parseHTML(msg); let current_version = $(parsed).find('#issue_lock_version').val(); diff --git a/init.rb b/init.rb index 31fce4d..eff667e 100644 --- a/init.rb +++ b/init.rb @@ -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.8.0' + version '0.8.1' url 'https://github.com/ilogeek/redmine_issue_dynamic_edit' author_url 'https://hzilliox.fr' end