app/views/tiny_mce/files.erb in muck-contents-3.1.4 vs app/views/tiny_mce/files.erb in muck-contents-3.1.5

- old
+ new

@@ -76,13 +76,13 @@ </div> </div> </form> -<% content_for :head do -%> +<% content_for :javascript do -%> <%= javascript_include_tag 'tiny_mce/plugins/muckfile/js/functions.js' -%> -<% end -%> + <script language="javascript" type="text/javascript"> tinyMCEPopup.onInit.add(function(ed) { jQuery.getJSON('<%=@load_files_path%>', function(json){ if (json.length <= 0){ @@ -136,6 +136,7 @@ if(jQuery('input#title').val().length <= 0){ jQuery('input#title').val(name); } mcTabs.displayTab('general_tab','general_panel'); } -</script> +</script> +<% end -%> \ No newline at end of file