enable drag&drop for info lists

This commit is contained in:
rlx 2011-10-17 11:26:04 +00:00
parent 5d669f42e3
commit 83fbe6d366

View file

@ -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
};