Fix Bug 40653
This commit is contained in:
parent
e17397ac95
commit
28008da7c0
|
@ -241,6 +241,15 @@ define([
|
|||
event.dataTransfer.dropEffect ="none";
|
||||
return false;
|
||||
}
|
||||
}).on('dragstart', function(e) {
|
||||
var event = e.originalEvent;
|
||||
if (event.target ) {
|
||||
var target = $(event.target);
|
||||
if (target.closest('.combobox').length>0 || target.closest('.dropdown-menu').length>0 ||
|
||||
target.closest('.ribtab').length>0 || target.closest('.combo-dataview').length>0) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Common.NotificationCenter.on({
|
||||
|
|
|
@ -228,6 +228,15 @@ define([
|
|||
event.dataTransfer.dropEffect ="none";
|
||||
return false;
|
||||
}
|
||||
}).on('dragstart', function(e) {
|
||||
var event = e.originalEvent;
|
||||
if (event.target ) {
|
||||
var target = $(event.target);
|
||||
if (target.closest('.combobox').length>0 || target.closest('.dropdown-menu').length>0 ||
|
||||
target.closest('.ribtab').length>0 || target.closest('.combo-dataview').length>0) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Common.NotificationCenter.on({
|
||||
|
|
|
@ -230,6 +230,15 @@ define([
|
|||
event.dataTransfer.dropEffect ="none";
|
||||
return false;
|
||||
}
|
||||
}).on('dragstart', function(e) {
|
||||
var event = e.originalEvent;
|
||||
if (event.target ) {
|
||||
var target = $(event.target);
|
||||
if (target.closest('.combobox').length>0 || target.closest('.dropdown-menu').length>0 ||
|
||||
target.closest('.ribtab').length>0 || target.closest('.combo-dataview').length>0) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Common.NotificationCenter.on({
|
||||
|
|
Loading…
Reference in a new issue