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
Hi all. The X button on a FilerImageField has an href="#" which sends the user to the top of the page when clicked.
href="#"
I tested this on Django 3, not sure if it happens on others. Quite strange to not see it reported sooner.
The small fix I did was to simply replace # with javascript:void(0); in admin_file.html which seemed to take care of the problem
#
javascript:void(0);
<a class="filerClearer {% if not object %}hidden{% endif %}" title="{% translate 'Clear' %}" - data-no-icon-file="{% static 'filer/icons/file-unknown.svg' %}" href="#"> + data-no-icon-file="{% static 'filer/icons/file-unknown.svg' %}" href="javascript:void(0);"> <span class="fa fa-close filer-icon filer-icon-remove-selection"></span> </a>
admin_folder.html should also have the same problem but I haven't tested yet
The text was updated successfully, but these errors were encountered:
Completed with #1453
Sorry, something went wrong.
Thank you, perfect, this looks much more clean than my fix
No branches or pull requests
Hi all. The X button on a FilerImageField has an
href="#"
which sends the user to the top of the page when clicked.I tested this on Django 3, not sure if it happens on others. Quite strange to not see it reported sooner.
The small fix I did was to simply replace
#
withjavascript:void(0);
in admin_file.html which seemed to take care of the problemadmin_folder.html should also have the same problem but I haven't tested yet
The text was updated successfully, but these errors were encountered: