Small improvements.
This commit is contained in:
parent
7a9cf505d6
commit
7685d18709
2 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
)
|
||||
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue