help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

filter+selection -> "document expired" on going back

filter+selection -> "document expired" on going back

9 years 9 months ago - 9 years 9 months ago
#17857
maybe it's an obvious thing i've been overlooking but do/did have some trouble with "document expired"

for example:
- backend
- go to articles
- use searchfilters
- click an article
- press back button

not sure if it will give an error at yoiur site but here it is..

as i obviously don't like such errors i did decide to prevent the use of the backspace button in the frontend in general.
over here they are explaining how to prevent it to be working. and over here some more info..

did add a location.href so it's going back to the eventslist view.
Code:
if (doPrevent) { event.preventDefault(); window.location.replace("http://www.site.com/eventslist/"); }

but it's probably not a good solution so was wondering what else can be done to prevent it.


// edit //
did read a bit about window.onpopstate (html5) and think I'll use it to block/modify some things so will try it out.
Last edit: 9 years 9 months ago by Bluefox.

Please Log in or Create an account to join the conversation.

Time to create page: 0.415 seconds