Sha256: 56a2a9a6c2b3b9307f839a0d0eb312b0e148737ef6174d745efb6142edf6ae94

Contents?: true

Size: 464 Bytes

Versions: 14

Compression:

Stored size: 464 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

14 entries across 14 versions & 1 rubygems

Version Path
qbrick-2.6.10 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.9 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.8 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.7 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.6 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.5 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.4 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.3 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.2 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.1 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.6.0 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.5.2 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.5.1 app/views/qbrick/cms/bricks/new.js.erb
qbrick-2.5.0 app/views/qbrick/cms/bricks/new.js.erb