We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master
When I follow those steps, I see... The button doesn't do anything
I was expecting... To see the download dialogue
Browsers
Operating System
I had to add document.body.appendChild(a); in the fileinput.js .kv-file-download click action
document.body.appendChild(a);
The text was updated successfully, but these errors were encountered:
Hi, I had the same problem and I found a temporary solution: Add this to your file input config:
layoutTemplates:{ actionDownload: '<button type="button" class="{downloadClass}" title="{downloadTitle}" data-caption="{caption}" onclick="window.location.href=\'{downloadUrl}\'">{downloadIcon}</button>\n', }
It will replace the default download button by the one specified (http://plugins.krajee.com/file-input/plugin-options#layoutTemplates). It's no good looking solution, but it seems to work for Safari, Firefox and Chrome.
Sorry, something went wrong.
9f04dee
No branches or pull requests
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
Expected behavior and actual behavior
When I follow those steps, I see...
The button doesn't do anything
I was expecting...
To see the download dialogue
Environment
Browsers
Operating System
Isolating the problem
I had to add
document.body.appendChild(a);
in the fileinput.js .kv-file-download click actionThe text was updated successfully, but these errors were encountered: