app/views/accounts/new.js.haml in fat_free_crm-0.13.2 vs app/views/accounts/new.js.haml in fat_free_crm-0.13.3
- old
+ new
@@ -3,9 +3,9 @@
crm.flick('empty', 'toggle');
crm.flip_form('#{create_id}');
- unless params[:cancel].true?
- jQuery('##{create_id}').html('#{ j render(:partial => "new") }');
+ $('##{create_id}').html('#{ j render(:partial => "new") }');
crm.set_title('#{create_id}', '#{ j t(create_id) }');
- else
crm.set_title('#{create_id}', '#{ j t(entity_name.pluralize) }');