Skip to content

Commit

Permalink
Merge 4538fb9 into da6b3a1
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Mar 28, 2018
2 parents da6b3a1 + 4538fb9 commit 2e6a869
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 42 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/advancedworkflow.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/dist/js/advancedworkflow.js.map

This file was deleted.

1 change: 0 additions & 1 deletion client/dist/styles/advancedworkflow.css.map

This file was deleted.

8 changes: 6 additions & 2 deletions client/src/bundles/WorkflowField.js
Expand Up @@ -305,8 +305,12 @@ jQuery.entwine('ss', ($) => {
* This is specific to workflow export logic, where we don't want an AJAX request
* interfering with browser download headers.
*/
$('.ss-gridfield .action.no-ajax.export-link').entwine({
onclick() {
$('.grid-field .action.no-ajax, .grid-field .no-ajax .action:button').entwine({
onclick(e) {
if (!this.hasClass('export-link')) {
return this._super(e);
}

window.location.href = $.path.makeUrlAbsolute(this.attr('href'));

return false;
Expand Down

0 comments on commit 2e6a869

Please sign in to comment.