enable drag&drop for info lists
This commit is contained in:
parent
5d669f42e3
commit
83fbe6d366
1 changed files with 2 additions and 2 deletions
|
@ -356,11 +356,11 @@ Ox.List = function(options, self) {
|
||||||
function dragstart(data) {
|
function dragstart(data) {
|
||||||
var $target = $(data.target),
|
var $target = $(data.target),
|
||||||
$parent = $target.parent();
|
$parent = $target.parent();
|
||||||
if (
|
if ((
|
||||||
$target.is('.OxTarget') // icon lists
|
$target.is('.OxTarget') // icon lists
|
||||||
|| $parent.is('.OxTarget') // text lists
|
|| $parent.is('.OxTarget') // text lists
|
||||||
|| $parent.parent().is('.OxTarget') // text lists with div inside cell
|
|| $parent.parent().is('.OxTarget') // text lists with div inside cell
|
||||||
) {
|
) && !$target.is('.OxSpecialTarget')) {
|
||||||
self.drag = {
|
self.drag = {
|
||||||
ids: self.options.selected
|
ids: self.options.selected
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue