Merge pull request #780 from peterkeen/upload-base-path

Base upload button action on home page url
This commit is contained in:
bootstraponline
2014-01-02 19:50:35 -08:00
@@ -155,7 +155,8 @@ $(document).ready(function() {
fields: [
{
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 ) {