From ea516589c45c163b38468df39f5f533e2964251f Mon Sep 17 00:00:00 2001 From: Mark MacKay Date: Wed, 15 Aug 2012 13:50:57 -0500 Subject: [PATCH] fix for dissapearinggradient --- editor/svg-editor.js | 2 +- method-draw/svg-editor.js | 2 +- method-draw/svgcanvas.js | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 1bca288..a5cb660 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3658,7 +3658,7 @@ e.preventDefault(); } - workarea[0].addEventListener('dragenter', onDragEnter, false); + workarea[0].addEventListener('dragenter', onDragEnter, false); workarea[0].addEventListener('dragover', onDragOver, false); workarea[0].addEventListener('dragleave', onDragLeave, false); workarea[0].addEventListener('drop', import_image, false); diff --git a/method-draw/svg-editor.js b/method-draw/svg-editor.js index 1bca288..a5cb660 100644 --- a/method-draw/svg-editor.js +++ b/method-draw/svg-editor.js @@ -3658,7 +3658,7 @@ e.preventDefault(); } - workarea[0].addEventListener('dragenter', onDragEnter, false); + workarea[0].addEventListener('dragenter', onDragEnter, false); workarea[0].addEventListener('dragover', onDragOver, false); workarea[0].addEventListener('dragleave', onDragLeave, false); workarea[0].addEventListener('drop', import_image, false); diff --git a/method-draw/svgcanvas.js b/method-draw/svgcanvas.js index d7904df..e8f3d00 100644 --- a/method-draw/svgcanvas.js +++ b/method-draw/svgcanvas.js @@ -3898,11 +3898,6 @@ var textActions = canvas.textActions = function() { $(curtext).css('cursor', 'text'); -// if(svgedit.browser.supportsEditableText()) { -// curtext.setAttribute('editable', 'simple'); -// return; -// } - if(!arguments.length) { setCursor(); } else {