Skip to content

Commit

Permalink
LPS-18161 - Source formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Dec 16, 2011
1 parent 84cbd34 commit eae8497
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
Expand Up @@ -265,7 +265,6 @@ String[][] categorySections = {mainSections};
},
{
handler: function(event) {

<portlet:renderURL var="exportPagesURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<portlet:param name="struts_action" value="/layouts_admin/export_layouts" />
<portlet:param name="<%= Constants.CMD %>" value="<%= Constants.EXPORT %>" />
Expand Down
20 changes: 10 additions & 10 deletions portal-web/docroot/html/portlet/layouts_admin/export_import.jsp
Expand Up @@ -116,18 +116,18 @@ portletsList = ListUtil.sort(portletsList, new PortletTitleComparator(applicatio

<c:if test='<%= cmd.equals(Constants.IMPORT) && SessionMessages.contains(renderRequest, "request_processed") %>'>
<aui:script>
var opener = Liferay.Util.getOpener();
var opener = Liferay.Util.getOpener();

if (opener.<portlet:namespace />saveLayoutset) {
Liferay.fire(
'closeWindow',
{
id: '<portlet:namespace />importDialog'
}
);
if (opener.<portlet:namespace />saveLayoutset) {
Liferay.fire(
'closeWindow',
{
id: '<portlet:namespace />importDialog'
}
);

opener.<portlet:namespace />saveLayoutset();
}
opener.<portlet:namespace />saveLayoutset();
}
</aui:script>
</c:if>

Expand Down

0 comments on commit eae8497

Please sign in to comment.