Commit d7f52e07 authored by Eric Windham's avatar Eric Windham

fix export submission href link

parent 829b3cb6
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -71,7 +71,7 @@ define( ['models/formModel'], function( FormModel ) {
// link to export submissions page
exportSubmissionLink.href = this.baseUrl + '?page=nf-processing&action=download_all_subs&form_id='
+ formID + '&redirect=' + encodeURIComponent('/wp-admin/edit.php?post_status=all&post_type=nf_sub&form_id='
+ formID + '&redirect=' + encodeURIComponent( this.baseUrl.replace( 'admin.php', 'edit.php' ) + '?post_status=all&post_type=nf_sub&form_id='
+ formID );
exportSubmissionLink.target = '_blank';
exportSubmissionLink.innerHTML = '<i class="fa fa-download" ' +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment