From 7b787996afdaeb64a34b19ddcd05f58f6320f9cc Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Fri, 25 Mar 2011 18:26:39 -0700 Subject: [PATCH] Fixing resize enabling/disabling --HG-- branch : dev --- .../Scripts/orchard-designertools-shapetracing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js b/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js index 73b5c0235..ef77d8966 100644 --- a/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js +++ b/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js @@ -116,8 +116,8 @@ shapeTracingContainer.resizable({ handles: { n: '#shape-tracing-resize-handle' }, grid: 20, // mitigates the number of calls to syncResize(), and aligns to the line height - resize: shapeTracingEnabled = false, - stop: shapeTracingEnabled = true + resize: function () { shapeTracingEnabled = false }, + stop: function () { shapeTracingEnabled = true } }); var shapeNodes = {}; // represents the main index of shape nodes, indexed by id