Skip to content

Commit

Permalink
tweak default values for "Set highlight" dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Feb 28, 2013
1 parent 23587a7 commit 16ec56b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/JBrowse/View/Dialog/SetHighlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ return declare( ActionBarDialog,

this.highlightInput = new dijitTextBox({
id: 'newhighlight_locstring',
value: (this.browser.getHighlight()||'').toString()
value: (this.browser.getHighlight()||'').toString() || this.browser.view.visibleRegionLocString() || '',
placeHolder: this.browser.view.visibleRegionLocString() || 'ctgA:1234..5678'
});

this.set('content', [
Expand Down

0 comments on commit 16ec56b

Please sign in to comment.