From 066a4d9fbc42cbba66956cfe94a0aa4791a365aa Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 17 Dec 2013 13:32:15 +0000 Subject: [PATCH] Coding style and layout tweaks --- core/modules/widgets/dropzone.js | 15 +++++++++++---- core/modules/widgets/link.js | 13 +++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/core/modules/widgets/dropzone.js b/core/modules/widgets/dropzone.js index 1e35b4533..7c7ff4e62 100644 --- a/core/modules/widgets/dropzone.js +++ b/core/modules/widgets/dropzone.js @@ -100,12 +100,19 @@ DropZoneWidget.prototype.handleDropEvent = function(event) { }; DropZoneWidget.prototype.importData = function(dataTransfer) { + // Try each provided data type in turn for(var t=0; t