{"issue":{"state":"open","created_at":"2011-11-29T20:16:38Z","updated_at":"2011-11-29T20:16:40Z","user":{"gravatar_id":"56363b19ed04093f57e11651921c7476","id":101594,"url":"https://api.github.com/users/DyaGa","avatar_url":"https://secure.gravatar.com/avatar/56363b19ed04093f57e11651921c7476?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"DyaGa"},"comments":2,"body":"As an example, please, **open next link in a new tab**: http://demo.contao.org/news-reader/items/james-wilson-returns.html and click on `Go back` link. As you can see nothing will happend (because of using JavaScript). But as a user I expected that when browser will open News Archive (http://demo.contao.org/news.html) page...\n\nMaybe, for `News Reader` module `Go back` button should link to the page where `News Archive` or `News List` modules are... in example before, the href attribute for `Go back` button should be \n\n```\n<a href=\"http://demo.contao.org/news.html\">Go back</a>\n```\n\n \nnot \n\n```\n<a href=\"javascript:history.go(-1)\">Go back</a>\n```\n\nRelated issues: #15, #2234, #2607\n\n--- _Originally created on January 12th, 2011, at 10:39pm (ID 2794)_","assignee":null,"number":2794,"id":2392030,"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/frontend"},{"name":"Invalid","color":"ffdd00","url":"https://api.github.com/repos/contao/import/labels/Invalid"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Generate real URL for \"Go Back\" button","closed_at":null,"html_url":"https://github.com/contao/import/issues/2794","url":"https://api.github.com/repos/contao/import/issues/2794","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T20:16:40Z","updated_at":"2011-11-29T20:16:40Z","user":{"gravatar_id":"36e772d37d096b77e4a0f47df1286991","id":343404,"url":"https://api.github.com/users/tristanlins","avatar_url":"https://secure.gravatar.com/avatar/36e772d37d096b77e4a0f47df1286991?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tristanlins"},"body":"If you jump directly on the reader page, its unexpected for a user that nothing change if you press the go back button.\nBut how often is this case? Most of all news reader access you came from another page or external site. In this case the go back button works as expected by going BACK.\nimo the correct way is to add a \"go to news list\" button, which redirects to the news list and keep the go back button as it is.\n\n--- _Originally created on January 13th, 2011, at 08:39am_","id":2945686,"url":"https://api.github.com/repos/contao/import/issues/comments/2945686"}}