Skip to content

Commit

Permalink
fix Escape glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmartin committed Oct 23, 2017
1 parent baf5113 commit 2ecaae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/js/components/widgets/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ define(function (require) {
top: 10,
height: 300,
width: 350,
closeOnEscape: false,
close: function (event, ui) {
if (event.originalEvent &&
$(event.originalEvent.target).closest(".ui-dialog-titlebar-close").length) {
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/js/components/widgets/WidgetCapability.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ define(function (require) {
top: 10,
height: this.props.size.height,
width: this.props.size.width,
closeOnEscape: false,
position: {
my: "left+" + this.props.position.left + " top+" + this.props.position.top,
at: "left top",
Expand Down

0 comments on commit 2ecaae2

Please sign in to comment.