mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge branch 'master' into i238-kovan
This commit is contained in:
commit
45cdf6bdea
@ -60,7 +60,7 @@ JsonImportSubview.prototype.render = function () {
|
|||||||
},
|
},
|
||||||
}, 'Import'),
|
}, 'Import'),
|
||||||
|
|
||||||
error ? h('span.warning', error) : null,
|
error ? h('span.error', error) : null,
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -95,4 +95,3 @@ JsonImportSubview.prototype.createNewKeychain = function () {
|
|||||||
|
|
||||||
this.props.dispatch(actions.importNewAccount('JSON File', [ fileContents, password ]))
|
this.props.dispatch(actions.importNewAccount('JSON File', [ fileContents, password ]))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ PrivateKeyImportView.prototype.render = function () {
|
|||||||
},
|
},
|
||||||
}, 'Import'),
|
}, 'Import'),
|
||||||
|
|
||||||
error ? h('span.warning', error) : null,
|
error ? h('span.error', error) : null,
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -65,4 +65,3 @@ PrivateKeyImportView.prototype.createNewKeychain = function () {
|
|||||||
const privateKey = input.value
|
const privateKey = input.value
|
||||||
this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ]))
|
this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ]))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ ExportAccountView.prototype.render = function () {
|
|||||||
}, [
|
}, [
|
||||||
h('p.error', warning),
|
h('p.error', warning),
|
||||||
h('input#exportAccount.sizing-input', {
|
h('input#exportAccount.sizing-input', {
|
||||||
|
type: 'password',
|
||||||
placeholder: 'confirm password',
|
placeholder: 'confirm password',
|
||||||
onKeyPress: this.onExportKeyPress.bind(this),
|
onKeyPress: this.onExportKeyPress.bind(this),
|
||||||
style: {
|
style: {
|
||||||
|
Loading…
Reference in New Issue
Block a user