Commit 7a13de8b authored by Mikaël Salson's avatar Mikaël Salson
Browse files

vidjil_browser.rb: Add optional parameter to refine the filtering

parent a4abacf8
......@@ -164,18 +164,18 @@ class VidjilBrowser < Watir::Browser
return div(:id => 'settings_menu')
def menu_item_export(id)
def menu_item_export(id, extra = {})
menu = menu_import_export
return menu.a(:id => id)
return menu.a(extra.merge(:id => id))
def menu_item_export_fasta
return menu_item_export('export_fasta')
def menu_item_export_fasta(extra = {})
return menu_item_export('export_fasta', extra)
def menu_item_export_fasta_align
return menu_item_export('export_fasta_align')
def menu_item_export_fasta_align(extra = {})
return menu_item_export('export_fasta_align', extra)
def merge
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