feature/default_network_editable
Alexander Tseung 7 years ago
commit 9d7e49fc3b
  1. 3
      CHANGELOG.md
  2. 1
      old-ui/app/util.js
  3. 1
      ui/app/components/pages/add-token.js
  4. 3
      ui/app/send-v2.js
  5. 1
      ui/app/util.js

@ -1,6 +1,9 @@
# Changelog
## Current Master
- Fix link for 'Learn More' in the Add Token Screen to open to a new tab.
- Fix Download State Logs button [#3791](https://github.com/MetaMask/metamask-extension/issues/3791)
## 4.5.3 Wed Apr 04 2018

@ -231,6 +231,7 @@ function exportAsFile (filename, data) {
window.navigator.msSaveBlob(blob, filename)
} else {
const elem = window.document.createElement('a')
elem.target = '_blank'
elem.href = window.URL.createObjectURL(blob)
elem.download = filename
document.body.appendChild(elem)

@ -360,6 +360,7 @@ AddTokenScreen.prototype.renderTabs = function () {
h('div.add-token__info-box__copy', this.context.t('keepTrackTokens')),
h('a.add-token__info-box__copy--blue', {
href: 'http://metamask.helpscoutdocs.com/article/16-managing-erc20-tokens',
target: '_blank',
}, this.context.t('learnMore')),
]),
h('div.add-token__input-container', [

@ -255,7 +255,6 @@ SendTransactionScreen.prototype.handleToChange = function (to, nickname = '') {
const {
updateSendTo,
updateSendErrors,
from: {address: from},
} = this.props
let toError = null
@ -263,8 +262,6 @@ SendTransactionScreen.prototype.handleToChange = function (to, nickname = '') {
toError = this.context.t('required')
} else if (!isValidAddress(to)) {
toError = this.context.t('invalidAddressRecipient')
} else if (to === from) {
toError = this.context.t('fromToSame')
}
updateSendTo(to, nickname)

@ -271,6 +271,7 @@ function exportAsFile (filename, data) {
window.navigator.msSaveBlob(blob, filename)
} else {
const elem = window.document.createElement('a')
elem.target = '_blank'
elem.href = window.URL.createObjectURL(blob)
elem.download = filename
document.body.appendChild(elem)

Loading…
Cancel
Save