daledotshan/liferay-portal — pull request #153 by zxdgoal (2014-12-11 09:46:56+00:00)
Title: LPS-51931 Missing folder name in tooltip when documents and media files are dragged into folder

Hey Dale

To come straight to the point, when we show entries in List view, we consider a whole row acted as the folder, not the folder icon in the row.

The data is duplicate as it is shown in both the row and the icon. So, we get one folder shown in two places actually.

So no need to pass data to icon tag

This issue is not in journal portlet, please refer the code in /journal/view_entries.jsp
```

<%
row.setClassName("entry-display-style");

Map rowData = new HashMap();

rowData.put("draggable", JournalFolderPermission.contains(permissionChecker, curFolder, ActionKeys.DELETE) || JournalFolderPermission.contains(permissionChecker, curFolder, ActionKeys.UPDATE));
rowData.put("folder", true);
rowData.put("folder-id", curFolder.getFolderId());
rowData.put("title", HtmlUtil.escape(curFolder.getName()));

row.setData(rowData);
row.setPrimaryKey(String.valueOf(curFolder.getPrimaryKey()));
%>

<%@ include file="/html/portlet/journal/folder_columns.jspf" %>
```
and code in /journal/folder_columns.jspf
```

```

Please review this and let me know your concerns

Thanks
John.