Sha256: 12a1022b9bdd5de38d40797910e9db86e2f334ebefc7a72738b4288317a2dc3d

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

$("#").replaceWith(<%= ej(
  link_to t('commontator.thread.actions.show'),
          '#',
          :id => "thread_#{thread.id.to_s}_show_link",
          :class => "thread_show_link",
          :remote => true
) %>);

$().replaceWith(<%= ej(
  link_to t('commontator.thread.actions.hide'),
          '#',
          :id => "thread_#{thread.id.to_s}_hide_link",
          :class => "thread_hide_link",
          :remote => true
) %>);

      <%= link_to t('commontator.thread.actions.hide'),
                  '',
                  :id => "thread_#{thread.id.to_s}_hide_link",
                  :class => "thread_hide_link",
                  :remote => true %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-5.1.0 app/views/commontator/threads/_hide_show.js.erb~
commontator-4.11.0 app/views/commontator/threads/_hide_show.js.erb~