Sha256: 656073f058ba496220902ffc0954f83e5d25e82b07e7bfbbf3a11f5c224a65ff

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

- if @tag.valid?
  $('#create_tag_arrow').html(crm.COLLAPSED);
  $('#create_tag_title').html('#{ j t(:tags) }');
  $('#create_tag').slideUp(250);
  $('#tags').prepend('#{ j (render partial: "tag", collection: [ @tag ]) }');
  $('##{dom_id(@tag)}').effect("highlight", { duration:1500 });
  crm.flick('empty', 'remove');
- else
  $('#create_tag').html('#{ j render(partial: 'new') }');
  $('#tag_name').focus();

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/admin/tags/create.js.haml
fat_free_crm-0.22.0 app/views/admin/tags/create.js.haml
fat_free_crm-0.21.0 app/views/admin/tags/create.js.haml
fat_free_crm-0.20.1 app/views/admin/tags/create.js.haml
fat_free_crm-0.20.0 app/views/admin/tags/create.js.haml