Sha256: 6e1ea9e38617ce991db9e65602ef3c18ff026c5cdb96808057407cca5190a6b0

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

<%- if @brick.errors.any? %>
  $("#brick-form").modal('attention');
<%- end %>

$("#brick-form").empty();

$("#brick-form").append(<%= render('qbrick/cms/bricks/new', brick: @brick, format: :html).to_json.html_safe %>);

$("#brick-form").find('textarea.ckeditor').each(function (index, elem) { initCKEditor(elem.id) });

$("#brick-form").modal('show');

// Stop propagation of display styles dropdown
stopPropagationOfDisplayStyles($('#display-styles ul'));

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qbrick-2.7 app/views/qbrick/cms/bricks/new.js.erb