add event.preventDefault to undelete function
fix https://github.com/owncloud/core/issues/3320