From c0eff8edf313e6dd870a3e33f324c0e4f5ffe44e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 15 Jul 2013 11:32:28 +0000 Subject: [PATCH] use jquery .live on drag to also get elements added after drag started --- source/Ox.UI/js/Core/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index e68d96b2..3273ac8c 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -141,7 +141,7 @@ Ox.Element = function(options, self) { }); // trigger dragstart, set up drag events that.triggerEvent('dragstart', e); - $('.OxElement').on({ + $('.OxElement').live({ mouseenter: dragenter, mouseleave: dragleave });