|
@@ -302,6 +302,7 @@ function hasResponseError(_data) {
|
|
|
$(document)
|
|
|
.off('mousedown.start-drag', '.stag-popup.dynamic-popup.draggable .stag-popup-title')
|
|
|
.on('mousedown.start-drag', '.stag-popup.dynamic-popup.draggable .stag-popup-title', function(_e) {
|
|
|
+ if(_e.which !== 1) return;
|
|
|
if(dragging && dragging.length) {
|
|
|
dragging = false;
|
|
|
}
|
|
@@ -356,6 +357,7 @@ function hasResponseError(_data) {
|
|
|
$(document)
|
|
|
.off('mousedown.start-resize', '.stag-popup.dynamic-popup.resizable .stag-popup-content')
|
|
|
.on('mousedown.start-resize', '.stag-popup.dynamic-popup.resizable .stag-popup-content', function(_e) {
|
|
|
+ if(_e.which !== 1) return;
|
|
|
if(resizeHighlighting && resizeHighlighting.length) {
|
|
|
if(resizing && resizing.length) {
|
|
|
resizing.removeClass('resizing-x resizing-y');
|