From 77081b39b4d77a56d6e1bdf71d77d70a9b687a72 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 8 Nov 2018 15:45:39 -0500 Subject: [PATCH] Fix metadata not working. Some earlier linting caused the handleFieldChange and handleSystem functions to not have access to event data. Returning these to their pre-lint state for now, but there might be a more lint-friendly way to do this later. --- client/homebrew/editor/metadataEditor/metadataEditor.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.jsx b/client/homebrew/editor/metadataEditor/metadataEditor.jsx index 9181b9116..98e1d3345 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.jsx +++ b/client/homebrew/editor/metadataEditor/metadataEditor.jsx @@ -68,7 +68,7 @@ const MetadataEditor = createClass({ this.handleSystem(val)} /> + onChange={this.handleSystem.bind(null, val)} /> {val} ; }); @@ -133,18 +133,18 @@ const MetadataEditor = createClass({ this.handleFieldChange('title')} /> + onChange={this.handleFieldChange.bind(null, 'title')} />