mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for AWC-1880
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
* Copyright (C) 2005-2008 Alfresco Software Limited.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
@@ -42,7 +42,9 @@ public class UploadInput extends UIInput implements NamingContainer
|
|||||||
ResponseWriter writer = context.getResponseWriter();
|
ResponseWriter writer = context.getResponseWriter();
|
||||||
String path = context.getExternalContext().getRequestContextPath();
|
String path = context.getExternalContext().getRequestContextPath();
|
||||||
|
|
||||||
writer.write("<script type='text/javascript' src='/alfresco/scripts/upload_helper.js'></script>\n");
|
writer.write("<script type='text/javascript' src='");
|
||||||
|
writer.write(path);
|
||||||
|
writer.write("/scripts/upload_helper.js'></script>\n");
|
||||||
|
|
||||||
writer.write("<script type='text/javascript'>");
|
writer.write("<script type='text/javascript'>");
|
||||||
writer.write("function handle_upload(target)\n");
|
writer.write("function handle_upload(target)\n");
|
||||||
|
Reference in New Issue
Block a user