jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: shoulders on 18.01.2018 21:06:48

Title: back button is not using correct code
Post by: shoulders on 18.01.2018 21:06:48
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
Title: Re: back button is not using correct code
Post by: ColinM on 19.01.2018 18:28:41
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
Title: Re: back button is not using correct code
Post by: shoulders on 19.01.2018 18:33:14
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.
Title: Re: back button is not using correct code
Post by: ColinM on 20.01.2018 17:36:11
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