aboutsummaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-11-11 21:57:11 -0800
committerAdam Soltys <[email protected]>2012-11-11 21:57:11 -0800
commit81b30afabd1736e3dec4bb05c377b2d28317c2fe (patch)
treedd71cb80284d29be0e635f95025e46f24b1fb94b /public/js
parent3e900e0bba211c2bbf2bb10c85a82dd9ce6943f0 (diff)
downloadcoinos-server-81b30afabd1736e3dec4bb05c377b2d28317c2fe.tar.gz
coinos-server-81b30afabd1736e3dec4bb05c377b2d28317c2fe.zip
Save calculator params to database
Diffstat (limited to 'public/js')
-rw-r--r--public/js/calculator.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index ed199920..08757249 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -21,7 +21,7 @@ $(->
if client? and client
$.getJSON('client/' + client, (data) ->
user = data[0]
- g.title = user.title
+ g.title = user.name
g.address = user.address
g.commission = user.commission
g.logo = user.logo
@@ -81,7 +81,7 @@ setupPage = ->
if logo
$('#logo').attr('src', logo).show()
else
- $('#title').html(title)
+ $('#title').html(title).show()
$('#address').html(address)
$('#received').hide()