Sha256: 139ce60568a7c61277503015c276e00647fe4f8051a1cfa1a2f0d916bbb0c749

Contents?: true

Size: 981 Bytes

Versions: 3

Compression:

Stored size: 981 Bytes

Contents

<% content_for :head do -%>
  <%= javascript_include_tag 'muck_services.js' %>
  <%= javascript_tag %[var ADD_SHARE_MESSAGE = '#{t('muck.shares.adding_share')}';] %>
<% end -%>
<% content_for :javascript do -%>
<script type="text/javascript" language="JavaScript">
  jQuery(document).ready(function() {
    <%= "show_tool('comments');" if params[:show_comments] || @entry.comment_count > 0 -%>
    jQuery(window).bind('resize', function() {
      maximize_space();
    });
    jQuery('#comment').click(function(){
      return show_tool('comments');
    });
    jQuery('#share').click(function(){
      return show_tool('share');
    });
    jQuery('.close_link').click(function(){
      jQuery('.tool').hide();
      jQuery("#content_iframe").width('100%');
      jQuery('#recs_panel').css("left", jQuery("#toolbar").width() - 252);
      return false;
    });
    setup_entry_comment_submit();
    setup_share_submit();
    apply_frame_comment_hover();
  });
</script>
<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
muck-services-3.3.3 app/views/visits/_frame_scripts.html.erb
muck-services-3.3.2 app/views/visits/_frame_scripts.html.erb
muck-services-3.3.1 app/views/visits/_frame_scripts.html.erb