by axew3 » Sat Oct 10, 2020 3:17 pm
There is bug i've find.
It this: when click done into an attachment on posts to download it, then you reload page, the iframe fail on resize ...
well it do not fail on resize, it will attempt to download the file again, that lead to an unwanted result.
to fix, this:
Code: Select all
// # short links?
if ( href.charAt(0) == '#' ){
will be switched to this:
Code: Select all
// # short links? download links?
if ( href.charAt(0) == '#' || href.indexOf('\./download\/file\.php') > -1 ){
return;
}
the v5 iframe code
overall_footer.html has been already updated based on this
There is bug i've find.
It this: when click done into an attachment on posts to download it, then you reload page, the iframe fail on resize ...
well it do not fail on resize, it will attempt to download the file again, that lead to an unwanted result.
to fix, this:
[code]// # short links?
if ( href.charAt(0) == '#' ){[/code]
will be switched to this:
[code]// # short links? download links?
if ( href.charAt(0) == '#' || href.indexOf('\./download\/file\.php') > -1 ){
return;
}[/code]
the v5 iframe code [b]overall_footer.html[/b] has been already updated based on this