jonmak08/liferay-portal — pull request #237 by Robert-Frampton (2013-07-22 21:55:44+00:00)
Title: Pull request 14 lps 37635

Hey @jonmak08,

This in an update from Marc for LPS-37635. This issue does not just affect the add page panel, but other dialogs/popups with localized inputs. Asset Categories Admin is another example, if you add a category, then reopen the dialog, it won't let you add another category. It's because the localized input is no longer passing in it's value to it's corresponding hidden input.

Marc's fix forces the localized input to re-initialize, which seems to me negates the caching functionality added in LPS-36296 (74257e97d5c29d6c0707f17a4743f99d54ed6ffa) in the register() method. But maybe I'm wrong, I wanted to hear what you thought about it.