owncloud/core — pull request #922 by teey (2012-12-16 15:27:15+00:00)
Title: Files without defined actions did not trigger a download on click

Files without defined app/actions did not trigger a normal file download, but left the link dead.

The culprit was the event.preventDefault() which killed the normal link action even though no action was found for the clicked file.

The shuffled code now suppresses the default link action only when the library has better things planned for the file.