aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2013-02-27 20:29:22 -0800
committerAdam Soltys <[email protected]>2013-02-27 20:29:27 -0800
commit64c806e2197cd912c4cdfab7ad623285f34ca360 (patch)
tree3aff2fdf7c92e4c8c7262e09414706d94e64f1f6 /public
parent99ae6573a4153ddb6858d3561cd9cf6a7ea5b2a3 (diff)
downloadcoinos-server-64c806e2197cd912c4cdfab7ad623285f34ca360.tar.gz
coinos-server-64c806e2197cd912c4cdfab7ad623285f34ca360.zip
Use writecheque command
Diffstat (limited to 'public')
-rw-r--r--public/js/deposit.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/js/deposit.coffee b/public/js/deposit.coffee
index 72d74e05..a026b7e0 100644
--- a/public/js/deposit.coffee
+++ b/public/js/deposit.coffee
@@ -48,7 +48,9 @@ setupSocket = ->
input -= v.prev_out.value / 100000000
)
- $('#received').html(received)
+ $.get("/issue/#{received}", (data) ->
+ $('#received').html(data.replace(/\n/g, '<br />'))
+ )
fail = (msg) ->
g.errors.push(msg)