From 45ee2b30487cfb2363c5291c3d6d9ff00ff2dbcb Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 5 Apr 2013 13:57:55 +0100 Subject: [PATCH] Fix bug that was preventing pasting into edit textareas or input boxes --- core/modules/widgets/import.js | 42 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/core/modules/widgets/import.js b/core/modules/widgets/import.js index 4817bb320..ed32334ec 100644 --- a/core/modules/widgets/import.js +++ b/core/modules/widgets/import.js @@ -91,27 +91,31 @@ ImportWidget.prototype.handleDropEvent = function(event) { }; ImportWidget.prototype.handlePasteEvent = function(event) { - var self = this, - items = event.clipboardData.items; - for(var t = 0; t