owncloud/core — pull request #12394 by PVince81 (2014-11-24 15:30:52+00:00)
Title: Improve FileActions JS to allow for custom rendering

This improves the OCA.Files.FileActions class to support passing a
"render" function in the action object.

The default function "_defaultRenderFunction" is used by default and
renders actions in the usual actions container.

Moved "Rename" and "Delete" to custom render functions.

Note: this change will be needed when adding the "Favorite" action (mostly to avoid additional ugly hard-codings...)

Please review @MorrisJobke @icewind1991 @schiesbn @th3fallen