From 50c51a26af72b1633b05bde0076f5e947a3f7221 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 21 Oct 2011 01:01:52 +0100 Subject: [PATCH] uh --- edgware/static/js/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edgware/static/js/editor.js b/edgware/static/js/editor.js index 9315191..1615803 100644 --- a/edgware/static/js/editor.js +++ b/edgware/static/js/editor.js @@ -294,8 +294,8 @@ Canvas.prototype.init = function() { this.jq.droppable({accept:'.resource, .newTextBox', drop: function(ev, ui) { var box = $(this).getBox().jq; -// c = edgeArticle[$(this).attr('data-index')]; - c = $(this).data("canvas"); + c = edgeArticle[$(this).attr('data-index')]; +// c = $(this).data("canvas"); if ($(ui.draggable).attr('class') == 'resource ui-draggable') { r = edgeBin.allResources[$(ui.draggable).attr("data-index")]; if (r.mime == 'image') {