Skip to content

Commit

Permalink
Fix formbuilder drag&drop (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
slavas490 authored Jul 19, 2024
1 parent 32b616f commit d577abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/core/src/libs/legacy/formbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ var FT_Workspace = function (fb, jqEl, comps) {
inertia: false,
autoScroll: autoScroll,
onstart: function (e) {
if (e.interaction.downEvent.button === 2) {
if (e.button === 2) {
return false
}

Expand Down Expand Up @@ -807,7 +807,7 @@ var FT_Workspace = function (fb, jqEl, comps) {
return true
},
onmove: function (e, a, b, c, d) {
if (e.interaction.downEvent.button === 2) {
if (e.button === 2) {
return false
}
_.mousePos.y = e.clientY
Expand Down

0 comments on commit d577abb

Please sign in to comment.