Small improvements.

This commit is contained in:
Martin Edenhofer 2012-10-11 12:42:26 +02:00
parent 7a9cf505d6
commit 7685d18709
2 changed files with 3 additions and 3 deletions

View file

@ -98,11 +98,11 @@ class App.ControllerGenericEdit extends App.ControllerModal
# save object
@item.save(
success: =>
@log 'lll', @callback(@item), @required
if @callback
@callback(@item)
@modalHide()
error: =>
@log 'errors'
@modalHide()
)

View file

@ -1,5 +1,5 @@
<div class="well">
<h3><%- T('Customer') %> <small><a href="#" data-type="edit" class="icon-edit"></a></small></h3>
<h3><%- T('Customer') %> <a href="#" data-type="edit" class="icon-edit"></a></h3>
<% if @user.image: %>
<img class="thumbnail" src="<%- @user.image %>" alt="">
<% end %>