Sha256: eaad6d62d659577202d59584fa9e1f7d6c79730388a6d3aa263bbd37b462437f
Contents?: true
Size: 599 Bytes
Versions: 27
Compression:
Stored size: 599 Bytes
Contents
#= require 'alchemy/alchemy.element_editors' window.CustomProxedElementEditor = $.extend {}, Alchemy.ElementEditors $.extend window.CustomProxedElementEditor, init: (selector = "#element_area")-> @element_area = $(selector) @bindEvents() @initialize_tinymce() return initialize_tinymce: ()-> ids = [] @element_area.find('.has_tinymce').each (i, e)-> ids.push($(e).attr("id").match(/[0-9]+/)[0]) Alchemy.Tinymce.init(ids) # disattivazione del check di reload pagina $(document).on 'submit', '.simple_form.alchemy', (e)=> window.onbeforeunload = null;
Version data entries
27 entries across 27 versions & 1 rubygems