juliocamarero/liferay-portal — pull request #2499 by epgarcia (2013-10-22 10:15:32+00:00)
Title: LPS-41377 Reload web content form when editing current structure or template

Hey Julio,

I remember that for previous tickets we discussed the behaviour described in LPS-41377. Even if the structure or the template are modified from the edit web content links, those changes are not reflected in the web content form.

In this PR I've added the closeRedirect logic to the edit_structure and edit_template forms, so that the web content form is reloaded when those dialogs are closed. Since this may cause losing unsaved data, I've also added a warning. Please let me know if this new behavior is acceptable or if it isn't, what the expected behavior is.

Thanks!