-
- Downloads
Merge branch 'label-update-check-new' into 'master'
Send ajax request for label update only if they are changed ## What does this MR do? At the moment we send requests to update the labels on issue even if nothing has been changed. This fixes that and only sends requests when something has actually been changed. The code gets the initial selected values based on the inputs & then compares that to the selected values when submitting. If they are equal, then no request is sent. ## What are the relevant issue numbers? Closes #19472 See merge request !5071
parent
6627d2e9
No related branches found
No related tags found
Showing
- CHANGELOG 10 additions, 0 deletionsCHANGELOG
- app/assets/javascripts/labels_select.js 10 additions, 1 deletionapp/assets/javascripts/labels_select.js
- spec/features/issues_spec.rb 18 additions, 0 deletionsspec/features/issues_spec.rb
- spec/javascripts/labels_issue_sidebar_spec.js.es6 6 additions, 7 deletionsspec/javascripts/labels_issue_sidebar_spec.js.es6
Please register or sign in to comment