From f48ad463c79e7165b6d5ca07acec20f28ffcd695 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Fri, 5 Nov 2010 18:29:39 +0000 Subject: [PATCH] Fixed utilities reference git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1846 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/jgraduate/jquery.jgraduate.js | 1 + editor/svg-editor.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/jgraduate/jquery.jgraduate.js b/editor/jgraduate/jquery.jgraduate.js index 4c87f300..cb1cc021 100644 --- a/editor/jgraduate/jquery.jgraduate.js +++ b/editor/jgraduate/jquery.jgraduate.js @@ -795,6 +795,7 @@ jQuery.fn.jGraduate = $('#' + id + ' div.grad_coord').mousedown(function(evt) { + evt.preventDefault(); draggingCoord = $(this); var s_pos = draggingCoord.offset(); offset = draggingCoord.parent().offset(); diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 7138db3c..b1fec63c 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -469,7 +469,7 @@ modKey = (isMac ? "meta+" : "ctrl+"), // ⌘ path = svgCanvas.pathActions, undoMgr = svgCanvas.undoMgr, - Utils = svgCanvas.Utils, + Utils = svgedit.utilities, default_img_url = curConfig.imgPath + "logo.png", workarea = $("#workarea"), canv_menu = $("#cmenu_canvas"),