Skip to content

Commit

Permalink
Add some default prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jul 13, 2018
1 parent 2ba786e commit 0aea0e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/JBrowse/Browser.js
Expand Up @@ -47,7 +47,6 @@ define( [
'JBrowse/View/Dialog/OpenDirectory',
'JBrowse/View/Dialog/SetTrackHeight',
'JBrowse/View/Dialog/QuickHelp',
'JBrowse/View/Dialog/Search',
'JBrowse/View/StandaloneDatasetList',
'JBrowse/Store/SeqFeature/UnindexedFasta',
'JBrowse/Store/SeqFeature/IndexedFasta',
Expand Down Expand Up @@ -110,7 +109,6 @@ define( [
OpenDirectoryDialog,
SetTrackHeightDialog,
HelpDialog,
SearchDialog,
StandaloneDatasetList,
UnindexedFasta,
IndexedFasta,
Expand Down
4 changes: 2 additions & 2 deletions src/JBrowse/View/Dialog/Search.js
Expand Up @@ -32,9 +32,9 @@ function (
constructor: function (args) {
this.browser = args.browser;
this.config = dojo.clone(args.config || {});
this.locationChoices = [{label: 'Search results...', description: ' ', start: 0, end: 100, ref: 'ctgA'}];
this.locationChoices = [{label: 'Search results...', description: ' ', start: 0, end: 100, ref: 'chr'}];
this.title = args.title || 'Choose location';
this.prompt = args.prompt;
this.prompt = args.prompt || 'Search for features';
this.goCallback = args.goCallback;
this.showCallback = args.showCallback;
},
Expand Down

0 comments on commit 0aea0e2

Please sign in to comment.