From 83fbe6d3661bbb4000eeb38912f3ddafaf1b27b6 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 17 Oct 2011 11:26:04 +0000 Subject: [PATCH] enable drag&drop for info lists --- source/Ox.UI/js/List/Ox.List.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/List/Ox.List.js b/source/Ox.UI/js/List/Ox.List.js index 0e4a10ba..ab625131 100644 --- a/source/Ox.UI/js/List/Ox.List.js +++ b/source/Ox.UI/js/List/Ox.List.js @@ -356,11 +356,11 @@ Ox.List = function(options, self) { function dragstart(data) { var $target = $(data.target), $parent = $target.parent(); - if ( + if (( $target.is('.OxTarget') // icon lists || $parent.is('.OxTarget') // text lists || $parent.parent().is('.OxTarget') // text lists with div inside cell - ) { + ) && !$target.is('.OxSpecialTarget')) { self.drag = { ids: self.options.selected };