Fix Bug 40653

This commit is contained in:
Julia Radzhabova 2019-02-21 13:40:03 +03:00
parent e17397ac95
commit 28008da7c0
3 changed files with 27 additions and 0 deletions

View file

@ -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({

View file

@ -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({

View file

@ -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({