Skip to content

Commit 74b3b8c

Browse files
ramonskixispa
authored andcommitted
Fix Duplication Action for Analysis Services (#834)
* Fix custom WF action submit handler * Updated changelog * PEP8 only
1 parent b30b3ac commit 74b3b8c

File tree

4 files changed

+201
-187
lines changed

4 files changed

+201
-187
lines changed

CHANGES.rst

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Changelog
1818

1919
**Fixed**
2020

21+
- #834 Fix Duplication Action for Analysis Services
2122
- #835 List only published ARs when "Published" Filter is active
2223
- #825 Error when exporting Worksheets list with `senaite.exporter`
2324
- #821 Cannot retract single analysis services

bika/lims/browser/js/bika.lims.bikalisting.js

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bika/lims/browser/js/coffee/bika.lims.bikalisting.coffee

+3-2
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,10 @@ class window.BikaListingTableView
890890

891891
# If a custom_transitions action with a URL is clicked the form will be
892892
# submitted there
893-
if $el.attr("url") != ""
893+
url = $el.attr "url"
894+
if url != ""
894895
form = $el.parents("form")
895-
$(form).attr "action", $(this).attr("url")
896+
$(form).attr "action", url
896897
$(form).submit()
897898

898899

0 commit comments

Comments
 (0)