Sha256: 9f3b4b0439652fb3a71353b13c4233ed2c92b13590e313747fbdfcea06e61e25
Contents?: true
Size: 856 Bytes
Versions: 5
Compression:
Stored size: 856 Bytes
Contents
id = dom_id(@group) if params[:cancel].true? # <----------------- Hide [Edit Group] page[id].replace :partial => "group", :collection => [ @group ] else # <---------------------------------------- Show [Edit Group] form. if @previous # Hide open [Edit Group] form if any. if @previous.is_a?(Group) # Previous group still exists? page[dom_id(@previous)].replace :partial => "group", :collection => [ @previous ] else page.call "crm.flick", "group_#{@previous}", :remove end end page.call "crm.highlight_off", id # Disable onMouseOver for the list item. page.call "crm.hide_form", :create_group # Hide [Create Group] form if any. page[id].replace_html :partial => "edit" # Show [Edit Group] form. page[:group_name].focus end
Version data entries
5 entries across 5 versions & 1 rubygems