Sha256: 72ab293fec836fae20158052117ac2176e19af3c3116358cc86df02021451425
Contents?: true
Size: 607 Bytes
Versions: 19
Compression:
Stored size: 607 Bytes
Contents
- asset = @field_group.klass_name.downcase - klass = @field_group.klass - id = "#{asset}_create_field_group" - container_id = "#{asset}_field_groups" - if @field_group.valid? $('##{id}_arrow').html(crm.COLLAPSED); $('##{id}').slideUp( { duration:250, complete: function() {$(this).html('')} } ); $('##{container_id}').after('#{ j(render :partial => "field_group", :collection => [ @field_group ]) }'); $('##{dom_id(@field_group)}').effect('highlight', { duration:1500 }); - else $('##{id}').html('#{ j render(:partial => "new") }'); $('##{id}').effect("shake", { duration:250, distance: 6 });
Version data entries
19 entries across 19 versions & 2 rubygems