Sha256: 52eb34c1efc99763d98f1c970c2a4664eb59a9b9ec45be7f3c5e86dd46b570af

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

- if @brick.errors.any?
  $("#brick-form").modal('attention')

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

$("#brick-form").append("#{j(render('kuhsaft/cms/bricks/new', :brick => @brick, :format => :html))}")

$("#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

4 entries across 4 versions & 1 rubygems

Version Path
kuhsaft-2.3.5 app/views/kuhsaft/cms/bricks/new.js.haml
kuhsaft-2.3.4 app/views/kuhsaft/cms/bricks/new.js.haml
kuhsaft-2.3.3 app/views/kuhsaft/cms/bricks/new.js.haml
kuhsaft-2.3.2 app/views/kuhsaft/cms/bricks/new.js.haml