Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps-pro into develop

This commit is contained in:
Kirill Volkov 2019-02-21 15:07:53 +03:00
commit 0221305640
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({