brianchandotcom/liferay-portal — pull request #2134 by juanferrub (2011-10-20 11:49:38+00:00)
Title: LPS-22328 Preload a structure on template creation when there's a structu

LPS-22328 Preload a structure on template creation when there's a structure already choosen

This is an important usability issue several customers pointed us to.
The problem is that when a structure doesn't have a template, when you create a content with that structure and you click on "choose template" and then on "create template", users usually forget to set the structure field to the correct value, so when they save and go back to the previous screen (which is a search container filtering by the structure id) your recently created template isn't there...
With the current fix, the structure will be preloaded in the form, so that it is never forgotten.