Sha256: 95bb0943e7eea3f48934c00762901af7434e37a7c1df89d585880f6326640315
Contents?: true
Size: 417 Bytes
Versions: 19
Compression:
Stored size: 417 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.editor').each(function (index, elem) { initCKEditor(elem.id) })
Version data entries
19 entries across 19 versions & 1 rubygems