|
@ -36,9 +36,11 @@ Dialog.include({ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
close: function() { |
|
|
close: function() { |
|
|
var draggable = this.$modal.draggable( "instance" ); |
|
|
|
|
|
if (draggable) { |
|
|
|
|
|
this.$modal.draggable("destroy"); |
|
|
|
|
|
|
|
|
if (this.$modal) { |
|
|
|
|
|
var draggable = this.$modal.draggable("instance"); |
|
|
|
|
|
if (draggable) { |
|
|
|
|
|
this.$modal.draggable("destroy"); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
return this._super.apply(this, arguments); |
|
|
return this._super.apply(this, arguments); |
|
|
}, |
|
|
}, |
|
|