I have this code,
$('.editLayout #changeLayout').click(function() {
$('html').height($(document).height());
$('#fluidWrap').hide('scale');
$.ajax({
data: {
mainLayout: true
},
success: function() {
alert(window.location.href);
window.location = window.location.href;
}
});
return false;
});
When the alert returns I get a valid url with a hash an example being,
http://www.example.com/edit#_layout
But the page does not refresh, if I hit f5 though the page refreshes as normal.
Any ideas?
Try
UPDATED
(And here hacky solution for chrome)