Sha256: ec8d11dde8a8cae91c6d6a99652e971e6a0e71dfe129c1c72991473034b02e8b

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 Bytes

Contents

<%= tinymce %>
<%= init_slidedown %>
<script type="text/javascript">
  overlay = $('#'+'<%= id %>');

  <% if @no_copy == true && Rails.env == "production" %>
    disableCopy();
  <% end %>

  <% if (params[:ajax_fullscreen].to_s == "true" || @ajax_fullscreen == true)  %>
    setAjaxFullscreen('<%= id %>');
  <% end %>  

  <% if mode == :info %>
    initInfoOverlay('<%= id %>');
  <% end %>  
  
  initAllAjaxTools();
  
  initOverlayZindexSetter(overlay);
  overlay.draggable({
         stop: function(event, ui) {
             $(this).css("top",ui.position.top).css("left",ui.position.left);
         }
   });
   
    // WIzzard init
   
   $(document).scrollTop(0)
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
friends_ajax_core-0.0.55 app/views/layouts/_overlay_js.html.erb
friends_ajax_core-0.0.51 app/views/layouts/_overlay_js.html.erb