app/views/leads/edit.js.rjs in fat_free_crm-0.11.3 vs app/views/leads/edit.js.rjs in fat_free_crm-0.11.4
- old
+ new
@@ -20,14 +20,12 @@
end
end
page.call "crm.highlight_off", id # Disable onMouseOver for the list item.
page.call "crm.hide_form", :create_lead # Hide [Create Lead] form if any.
page[id].replace_html :partial => "edit" # Show [Edit Lead] form.
- page.call "crm.init_chosen_fields"
elsif params[:cancel].false? # Called from title of the lead landing page...
page[:edit_lead].replace_html :partial => "edit"
- page.call "crm.init_chosen_fields"
unless %w(converted rejected).include? @lead.status
page.call "crm.hide_form", :convert_lead
end
page.call "crm.flip_form", :edit_lead
page.call "crm.set_title", :edit_lead, "#{t :edit} #{@lead.full_name}"