Sha256: 303405c4e6c1db5253118a1d367530c99c090092e0110cd169c34326a290f965

Contents?: true

Size: 419 Bytes

Versions: 15

Compression:

Stored size: 419 Bytes

Contents

$("##{@brick.to_brick_item_id}").replaceWith("#{j(render('kuhsaft/cms/bricks/brick_item', :brick => @brick))}")

- # 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.ckeditor').each(function (index, elem) { initCKEditor(elem.id) })

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kuhsaft-2.3.5 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.3.4 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.3.3 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.3.2 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.3.1 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.3.0 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.6 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.5 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.4 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.3 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.2 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.1 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.2.0 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.1.2 app/views/kuhsaft/cms/bricks/update.js.haml
kuhsaft-2.1.1 app/views/kuhsaft/cms/bricks/update.js.haml