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