I\'ve been trying to solve this for a while now, but I can\'t get itworking. When a user clicks a link he\'s asked to confirm that he wants to take this action. Then a ajax
Try using assign() instead:
assign()
window.location.assign(data);
window.location.href is a property, not a method.
window.location.href