Small payment fixes (#9082)

* Fixed some parameter passing and computed placements

* reset edit when user change

* Lint fix
This commit is contained in:
Keith Holliday
2017-09-26 16:05:54 -05:00
committed by GitHub
parent 356f2c7b7f
commit 927a08defd
4 changed files with 19 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
// Equivalent of jQuery's param
export default function (params) {
Object.keys(params).map((k) => {
return Object.keys(params).map((k) => {
return `${encodeURIComponent(k)}=${encodeURIComponent(params[k])}`;
}).join('&');
}
}