News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

back button is not using correct code

Started by shoulders, 18.01.2018 21:06:48

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

shoulders

Hi

on the download details view there is a back button. This button uses the following JavaScript code
javascript:history.go(-1)

This does not work if you go directly to this page because there is no history. The link needs to use another method because this one has a few issues.

thanks
  •  

ColinM

Hi,
I do not think this is a bug in jD but perhaps in the browser you are using.  For example in Firefox if you have linked directly to some jD Page  say  http://<your wbsite/index.php/all-cats/category/26-dated-cats and then use the back button then Firefox basically gives its home page showing recent places you have been. 
Basically that is what I would expect: if I have come straight from the browser to a jD page and then I expect it to go back to the browser.
What we you expecting? A redirect to a standard location is not a back button function.

Colin
PS I have moved this topic
Colin M
  •  

shoulders

scenario

if you open up your browser and go to www.google.co.uk, then enter this url directly into the browser (and load the page)

https://quantumwarp.com/downloads/category/11-bmw

and then click back it will take you back to google rather than up one level.

what i expect
I would expect to go up one level like when you click the up button.
  •  

ColinM

Hi
Sorry but the back button is obeying the normally undersood procedures.  If you do a google search for Back Button you will see it  means go back to the web page you previously used.
Colin
Colin M
  •