owncloud/core — pull request #6264 by PVince81 (2013-12-09 15:06:27+00:00)
Title: Fix to not destroy draggable when no draggable was set

When a dir has no delete permission, the draggable isn't initialized on
files. This fix makes sure we don't try to destroy a draggable when it
wasn't inited in the first place.

(this happenned when uploading + overwriting a file)

Fixes #6254

Please review @butonic @karlitschek @schiesbn @DeepDiver1975