Merge pull request #743 from singlebrook/upload_action_path

Use correct path for uploadFile action even when current page is in a folder.
This commit is contained in:
Abhijit Menon-Sen
2013-09-17 21:32:33 -07:00
@@ -95,7 +95,7 @@
var id = fieldAttributes.id || 'upload';
var name = fieldAttributes.name || 'file';
var action = fieldAttributes.action || 'uploadFile';
var action = fieldAttributes.action || '/uploadFile';
html += '<form method=post enctype="multipart/form-data" ' +
'action="' + action + '" ' + 'id="' + id + '">';