[TECHNICAL-SUPPORT] LPS-48480 

https://issues.liferay.com/browse/LPS-48480

Hi Nate,

I'm forwarding this pull to you according to @brunobasto's comment https://github.com/lipusz/liferay-portal/pull/39#issuecomment-51662526.

This also fixes https://issues.liferay.com/browse/LPS-48983 and https://issues.liferay.com/browse/LPS-49040.

Thanks to Bruno's commit (@252002a) now it works with SPA as well.

Regards,
Tibor

p.s. You can find more description at https://github.com/brunobasto/liferay-portal/pull/124#issue-39670599.

/cc @zsagia