solved After editing page, redirects to index page

gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
Hey Michael

After editing a page, you get redirected to the homepage rather than staying on the page you were editing.
Site Builder Editing Page

I have only really tested this in IE11 so far, so not sure if the same behaviour is present on other browsers.
updated by @garymoncrieff: 12/22/16 11:55:59AM
michael
@michael
11 years ago
7,816 posts
Its staying on the same page for me, I'm guessing either: your not on the latest version, or its an IE11 thing.

I'll go see what its doing so I can understand if its likely to be a browser thing.
updated by @michael: 12/22/16 11:55:59AM
michael
@michael
11 years ago
7,816 posts
This might be related to the smiley module, if it was enabled too. Looking for it caused me to find an issue with that. The new version fixes that issue, not sure if its the same issue your seeing or not.

Will have the new version in the marketplace this evening.
updated by @michael: 12/22/16 11:55:59AM
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
Just to follow up this is related to IE 11.
updated by @garymoncrieff: 12/22/16 11:55:59AM
michael
@michael
11 years ago
7,816 posts
not sure if I'm going to be able to fix that one alone. Don't have IE11. Does IE11 have any sort of javascript console to help us locate what the issue/error is?

I think the issue is:
window.location = '';
in firefox means reload the page, while in IE it means "go to the home page".

Looking for a confirmation on that now and what to do.
updated by @michael: 12/22/16 11:55:59AM
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
There are dev tools in IE, but I am not overly familiar with them other than quick prototype css changes.

This is what the console shows after editing a page and being redirected to home.

http://tinypic.com/r/261ohlw/8
updated by @garymoncrieff: 12/22/16 11:55:59AM
michael
@michael
11 years ago
7,816 posts
Ive made a bunch of changes to pass a redirect_url through so its set to a hard-coded location:
http://yoursite.com/panel/your/working/on

I HOPE this will fix it ('cos it took a long time and doesn't change much for the browsers that work ;) )

Could you update to the latest versions in the marketplace and see if it works or not please.

Please do a hard refresh of the browser cache too to get rid of any browser cached javascript. ( ctrl+F5 on Firefox, should be the same on IE11 im hoping.)

and an integrity check with reset caches too, to make sure it is the newer version.

Cheers.
updated by @michael: 12/22/16 11:55:59AM
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
Fixed good job Michael.
updated by @garymoncrieff: 12/22/16 11:55:59AM
michael
@michael
11 years ago
7,816 posts
I was sooooooooo hoping you were going to say that. Phew....

Thanks for helping find that issue Gary. :)
updated by @michael: 12/22/16 11:55:59AM
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
I would like to extend my thanks to you and the team on this, far too many web developers take the lazy route and not fully support IE even despite it commanding a larger market share than any other browser.
updated by @garymoncrieff: 12/22/16 11:55:59AM

Tags