bugfix.
[Plinn.git] / skins / custom_generic / folder_contents_template.pt
index ba3001c..c661a6b 100644 (file)
@@ -3,7 +3,10 @@
   <head>
     <title>folder_contents</title>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
   <head>
     <title>folder_contents</title>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
-               <script metal:fill-slot="javascript_head_slot" tal:attributes="src here/folder_contents_script.js/absolute_url" type="text/javascript"></script>
+    <metal:block metal:fill-slot="javascript_head_slot">
+               <script tal:attributes="src string:$portal_url/fileupload.js" type="text/javascript" charset="utf-8"></script>
+               <script tal:attributes="src string:$portal_url/folder_contents_script.js" type="text/javascript" charset="utf-8"></script>
+    </metal:block>
   </head>
 
   <body>
   </head>
 
   <body>
                                </noscript>
 
       </form>
                                </noscript>
 
       </form>
-                       <script type="text/javascript">
-                       //<!--
-                               initForms(document.getElementById("main_body"));
-                       // -->
-                       </script>
     </div>
   </body>
 </html>
\ No newline at end of file
     </div>
   </body>
 </html>
\ No newline at end of file