Sha256: 8aa7837b93d8d100fe4c1a16e1c8c062ba9db8fb55b8f3de507cb0a9814adf4b

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 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($('.js-stop-propagation ul'));

Version data entries

1 entries across 1 versions & 1 rubygems

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