uh
This commit is contained in:
parent
04a0e2ea87
commit
50c51a26af
|
@ -294,8 +294,8 @@ Canvas.prototype.init = function() {
|
||||||
this.jq.droppable({accept:'.resource, .newTextBox',
|
this.jq.droppable({accept:'.resource, .newTextBox',
|
||||||
drop: function(ev, ui) {
|
drop: function(ev, ui) {
|
||||||
var box = $(this).getBox().jq;
|
var box = $(this).getBox().jq;
|
||||||
// c = edgeArticle[$(this).attr('data-index')];
|
c = edgeArticle[$(this).attr('data-index')];
|
||||||
c = $(this).data("canvas");
|
// c = $(this).data("canvas");
|
||||||
if ($(ui.draggable).attr('class') == 'resource ui-draggable') {
|
if ($(ui.draggable).attr('class') == 'resource ui-draggable') {
|
||||||
r = edgeBin.allResources[$(ui.draggable).attr("data-index")];
|
r = edgeBin.allResources[$(ui.draggable).attr("data-index")];
|
||||||
if (r.mime == 'image') {
|
if (r.mime == 'image') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user