cancel
Showing results for 
Search instead for 
Did you mean: 

Move the extension mapping in an accessible js object

pl_componize
Champ in-the-making
Champ in-the-making
In order to add a new extension type for a new icon type, you have to overwrite the alfresco.js getFileIcon function.

It would be nice to move the extns list from the current variable in the getFileIcon function to an object so we could add our own extension type by adding a property without having to override the whole function.

Like it's done for Alfresco.util.getFileIcon.types for example.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Suggestions like this need to go into JIRA.    (issues.alfresco.com)

pl_componize
Champ in-the-making
Champ in-the-making
OK I'll do it. Thanks