paypro: fixes. clean up form reset from paypro. etc.

This commit is contained in:
Christopher Jeffrey 2014-08-01 20:22:11 -07:00 committed by Manuel Araoz
commit 64b38802bf
3 changed files with 38 additions and 58 deletions

View file

@ -1035,7 +1035,9 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) {
// 'Content-Length': (pay.byteLength || pay.length) + '',
// 'Content-Transfer-Encoding': 'binary'
},
data: buf, // Technically how this should be done via XHR.
// Technically how this should be done via XHR (used to
// be the ArrayBuffer, now you send the View instead).
data: view,
responseType: 'arraybuffer'
})
.success(function(data, status, headers, config) {