Skip to content

Commit

Permalink
Merge pull request #1145 from tripal/1143-tv3-fix_importer_button
Browse files Browse the repository at this point in the history
Fix for previous PR on use_button for importers.
  • Loading branch information
laceysanderson committed Jan 6, 2021
2 parents 35885f1 + 3e26877 commit 41b300f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tripal/includes/TripalImporter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class TripalImporter {
*/
public static $use_analysis = TRUE;


/**
* If the $use_analysis value is set above then this value indicates if the
* analysis should be required.
Expand All @@ -69,6 +70,13 @@ class TripalImporter {
*/
public static $button_text = 'Import File';

/**
* If the form submit button that is provided by the Importer is not
* needed (i.e. the child class wants to do something different). Then
* set this to FALSE.
*/
public static $use_button = TRUE;

/**
* Indicates the methods that the file uploader will support.
*/
Expand Down

0 comments on commit 41b300f

Please sign in to comment.