Skip to content

Commit 5376b46

Browse files
committed
Fix empty _rev parameter from dropdown select list
If there are multiple conflict versions in the dropdown field, the http get request was called with an empty rev parameter and failed. Use the right child object to get the value.
1 parent 263e299 commit 5376b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/addons/documents/rev-browser/components/revisionbrowsercontrols.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default class RevisionBrowserControls extends React.Component {
4141
}
4242

4343
onRevisionClick(revTheirs) {
44-
this.props.chooseLeaves(this.props.ours, revTheirs.value);
44+
this.props.chooseLeaves(this.props.ours, revTheirs.target.value);
4545
}
4646

4747
onForwardClick() {

0 commit comments

Comments
 (0)