Sha256: e7538906b52f74b95176477ea1c958d24b2ed4a64eacc9eccf64f970c2a94fcc

Contents?: true

Size: 466 Bytes

Versions: 19

Compression:

Stored size: 466 Bytes

Contents

$("##{@brick.brick_list.to_brick_list_id}.brick-list").append("#{j(render('kuhsaft/cms/bricks/brick_item', :brick => @brick))}").find("> .empty-state").remove()

- # need a reference to the new dom node, so a new query is needed here
var newlyInsertedBrick = $("##{@brick.to_brick_item_id}")
initSavePopover(newlyInsertedBrick)
initSubmitLinks(newlyInsertedBrick)

$(newlyInsertedBrick).find('textarea.editor').each(function (index, elem) { initCKEditor(elem.id) })

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
kuhsaft-2.1.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.8.6 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.8.5 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-2.0.3 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-2.0.2 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.8.4 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.8.1 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-2.0.1 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-2.0.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.8.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.7.1 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.7.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.6.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.5.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.4.3 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.4.2 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.4.1 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.4.0 app/views/kuhsaft/cms/bricks/create.js.haml
kuhsaft-1.3.1 app/views/kuhsaft/cms/bricks/create.js.haml