Merge pull request #780 from peterkeen/upload-base-path
Base upload button action on home page url
This commit is contained in:
@@ -155,7 +155,8 @@ $(document).ready(function() {
|
|||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
type: 'file',
|
type: 'file',
|
||||||
context: 'Your uploaded file will be accessible at /uploads/[filename]'
|
context: 'Your uploaded file will be accessible at /uploads/[filename]',
|
||||||
|
action: $('.action-home-page').first().attr('href') + 'uploadFile'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
OK: function( res ) {
|
OK: function( res ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user