Sha256: 956e46573556ec278bffbd27b0bab098c648f08e60125ba0e426578affd8795f
Contents?: true
Size: 565 Bytes
Versions: 16
Compression:
Stored size: 565 Bytes
Contents
- @ckimages.each do |image| .ckimage-wrapper{ id: "ckimage_#{image.id}" } .ckimage-thumb{ 'data-image-url' => image.file.url, 'data-func-num' => @func_num } = image_tag image.file.thumb.url .ckimage-delete =link_to 'Delete', cms_ckimage_path(image), method: :delete, remote: true, data: { confirm: t('qbrick.cms.ckimages.confirm') } :coffeescript $('.ckimage-thumb').click -> funcNum = $(this).data('func-num') imageUrl = $(this).data('image-url') window.opener.CKEDITOR.tools.callFunction(funcNum, imageUrl) window.close()
Version data entries
16 entries across 16 versions & 1 rubygems