Hi,
We are able to see document actions when we take our mouse pointer to document's row, but recently I came across the requirement to make those actions always be visible. When I inspected "documentlist.js", found that actions are coming from one of the column of data table but didn't able to get where mouse over and out events are defined which show/hide document actions. I would be great if any could help me in achieving this.
Thanks in Advance
Solved! Go to Solution.
Hi,
Maybe you can create a new view based on, for instance, "document-list-view-detailed" to test your changes.
In the new view you can change the .js file trying to find something like that:
elCell.innerHTML = '<div id="' + scope.id + '-actions-' + oRecord.getId() + '" class="hidden"></div>';
In our case we won't add: class=hidden.
After that, we won't call methods like:
Dom.removeClass(elActions, "hidden");
Dom.addClass(elActions, "hidden");
I don't know if its the best option, anyway its only a test and is necessary check when we should add/remove this class.
Regards,
clv
Hi,
Maybe you can create a new view based on, for instance, "document-list-view-detailed" to test your changes.
In the new view you can change the .js file trying to find something like that:
elCell.innerHTML = '<div id="' + scope.id + '-actions-' + oRecord.getId() + '" class="hidden"></div>';
In our case we won't add: class=hidden.
After that, we won't call methods like:
Dom.removeClass(elActions, "hidden");
Dom.addClass(elActions, "hidden");
I don't know if its the best option, anyway its only a test and is necessary check when we should add/remove this class.
Regards,
clv
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.