Skip to content

Commit

Permalink
Merge pull request #3189 from camptocamp/171-fix-displaywindow-drag
Browse files Browse the repository at this point in the history
gmf-displaywindow - drag/resize on same div
  • Loading branch information
adube authored Nov 30, 2017
2 parents 99910aa + 72b8d50 commit 9da48f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contribs/gmf/src/directives/displayquerywindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ gmf.DisplayquerywindowController.prototype.$onInit = function() {
this.highlightFeatureOverlay_.setStyle(highlightFeatureStyle);

if (this.desktop) {
this.element_.find('.gmf-displayquerywindow').draggable({
this.element_.find('.gmf-displayquerywindow-container').draggable({
'cancel': 'input,textarea,button,select,option,tr',
'containment': this.draggableContainment
});
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/directives/displaywindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ gmf.DisplaywindowController = class {

// Draggable
if (this.draggable) {
this.element_.find('.gmf-displayquerywindow').draggable({
this.element_.find('.gmf-displayquerywindow-container').draggable({
'containment': this.draggableContainment
});
}
Expand Down

0 comments on commit 9da48f8

Please sign in to comment.