mirror of https://github.com/perkeep/perkeep.git
Merge "ui: fixing broken 'View original' link on contextual nav bar"
This commit is contained in:
commit
d486f210ec
|
@ -721,11 +721,11 @@ cam.IndexPage = React.createClass({
|
|||
fileName = goog.string.subs('/%s', rm.file.fileName);
|
||||
}
|
||||
|
||||
var downloadUrl = goog.string.subs('%s/%s%s', this.props.config.downloadHelper, rm.blobRef, fileName);
|
||||
var downloadUrl = goog.string.subs('%s%s%s', this.props.config.downloadHelper, rm.blobRef, fileName);
|
||||
return React.DOM.button(
|
||||
{
|
||||
key:'viewSelection',
|
||||
onClick: this.handleOpenWindow_.bind(null, this, downloadUrl),
|
||||
onClick: this.handleOpenWindow_.bind(null, downloadUrl),
|
||||
},
|
||||
'View original'
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue