Skip to content

Commit

Permalink
LPS-114595 Send attribute as an object
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrinchaudhary committed Jun 8, 2020
1 parent e1f6bc4 commit 7ed2af7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -433,7 +433,7 @@ AUI.add(
uri = Liferay.Util.addParams(
instance.ns(
'fileEntryTypeId='
) + selectedItem,
) + selectedItem.value,
uri
);

Expand Down
Expand Up @@ -107,7 +107,9 @@ portletURL.setParameter("eventName", eventName);
Liferay.Util.getOpener().Liferay.fire(
'<%= HtmlUtil.escapeJS(eventName) %>',
{
data: currentTarget.attr('data-fileEntryTypeId'),
data: {
value: currentTarget.attr('data-fileEntryTypeId'),
},
}
);
},
Expand Down

0 comments on commit 7ed2af7

Please sign in to comment.