Sha256: 6f42dc73429ae2ba65a56f4d392473c2eb57a46e6f3b4b4ec8fc2234a601d1eb

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

$('.modal, .modal-backdrop').remove();

<% params[:remote] = true if params[:remote].nil? %>
<% params[:next_remote] = true if params[:next_remote].nil? %>

var $modal = $('<%= j(render "new") %>');
$modal.modal();
$modal.on('shown', function(){
  // Fix Rich Table Component
  renderModalTableGrid();

  // call jquery-file-upload
  renderJqueryFileUpload();

  // call ckeditor
  renderRemoteCkeditor();

  // call tokens
  renderTokens();

}).on('hidden', function(){
  $('.showing_new_form').removeClass('showing_new_form');
  $('.lvr_entry_edited').removeClass('lvr_entry_edited'); 
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rich_table_component-0.0.6 app/views/application/new.js.erb
rich_table_component-0.0.5 app/views/application/new.js.erb