fix file.create: fix creating files and directories
fix files.list: fix single files showing in the middle of screen instead of top feat files.style: introduce file hover color (feedback on touch)
This commit is contained in:
@ -16,7 +16,7 @@ export default {
|
||||
let input = React.findDOMNode(this.refs.input);
|
||||
|
||||
let cwd = store.getState().get('cwd');
|
||||
let action = create(cwd + input.value);
|
||||
let action = create(cwd + '/' + input.value);
|
||||
this.props.dispatch(action);
|
||||
this.props.dispatch(hideAll());
|
||||
this.props.dispatch(active());
|
||||
@ -28,7 +28,7 @@ export default {
|
||||
let input = React.findDOMNode(this.refs.input);
|
||||
|
||||
let cwd = store.getState().get('cwd');
|
||||
let action = create(cwd + input.value, true);
|
||||
let action = create(cwd + '/' + input.value, true);
|
||||
this.props.dispatch(action);
|
||||
this.props.dispatch(hideAll());
|
||||
this.props.dispatch(active());
|
||||
|
Reference in New Issue
Block a user