Sha256: 16ea374aa19278160db516730f4d7435c831f4802910266e04f952b6964ca81c
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
module TinymceHelper # Pass paths into the tiny mce image and file dialog via hidden fields # auto_complete_pages_path is for the tinymce link dialog. It will use that value to # retrieve a list of content pages to link to def mce_fields(upload_path, auto_complete_pages_path) '<input id="upload-path" type="hidden" value="' + upload_path + '">' + '<input id="pages-path" type="hidden" value="' + auto_complete_pages_path + '">' + '<input id="session-key" type="hidden" value="' + GlobalConfig.session_key + '">' + '<input id="session-id" type="hidden" value="' + request.session_options[:id] + '">' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
muck-contents-0.1.12 | app/helpers/tinymce_helper.rb |