app/views/users/edit.js.haml in fat_free_crm-0.13.2 vs app/views/users/edit.js.haml in fat_free_crm-0.13.3
- old
+ new
@@ -1,9 +1,9 @@
- if params[:cancel].true?
crm.flip_form('edit_profile');
crm.set_title('edit_profile', '#{ j t(:my_profile) }');
- else
- jQuery('#edit_profile').html('#{ j render(:partial => "profile") }');
+ $('#edit_profile').html('#{ j render(:partial => "profile") }');
crm.hide_form('upload_avatar');
crm.hide_form('change_password');
crm.flip_form('edit_profile');
crm.set_title('edit_profile', '#{t(:edit_profile)}');