Sha256: cd2a6af566e122443a0e9ca6c4a0218fdf4f077b1bae8cea9ddbb369ab4e0724
Contents?: true
Size: 582 Bytes
Versions: 9
Compression:
Stored size: 582 Bytes
Contents
if @tag.valid? page[:create_tag_arrow].replace_html "►" page[:create_tag_title].replace_html t(:tags) page.visual_effect :toggle_blind, :create_tag, :duration => 0.3, :afterFinish => 'function(effect) {effect.element.update("")}' page.insert_html :top, :tags, :partial => "tag", :collection => [ @tag ] page[dom_id(@tag)].visual_effect :highlight, :duration => 1.5 page.call "crm.flick", :empty, :remove else page[:create_tag].replace_html :partial => "new" page[:create_tag].visual_effect :shake, :duration => 0.25, :distance => 6 page[:tag_name].focus end
Version data entries
9 entries across 9 versions & 1 rubygems