Sha256: a9f2fda847844e668bca6e822619632b4287f90c84d00c0931b7769913f79691
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
<!DOCTYPE HTML> <html lang="ru"> <head> <meta charset="UTF-8"> <title>ElFinder</title> <%= javascript_include_tag 'jquery', 'jquery-ui', 'el_vfs/elfinder', 'el_vfs/i18n/elfinder.ru' %> <%= stylesheet_link_tag 'el_vfs/el_vfs' %> <script type="text/javascript" charset="utf-8" > //<![CDATA[ $(function(){ function getUrlParam(paramName) { var reParam = new RegExp('(?:[\?&]|&)' + paramName + '=([^&]+)', 'i') ; var match = window.location.search.match(reParam) ; return (match && match.length > 1) ? match[1] : '' ; }; var funcNum = getUrlParam('CKEditorFuncNum'); $('#elfinder').elfinder({ url: '/api/el_finder/v2', height: window.innerHeight - 23, lang: 'ru', getFileCallback : function(file) { window.opener.CKEDITOR.tools.callFunction(funcNum, file); window.close(); }, resizable: false }).elfinder('instance'); $('#root_path', window.parent.document).val('<%= session[:root_path] %>'); }); //]]> </script> </head> <body id='elfinder'> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
el_vfs_client-0.0.5 | app/views/el_finder/layout.html.erb |