[11.0][FIX] web_dialog_size: Draggable Dialog

This commit is contained in:
QS5ELkMu
2018-07-18 12:45:50 +02:00
committed by Mantux11
parent 1bca23c6ce
commit 8c6198bbdd

View File

@@ -26,15 +26,15 @@ Dialog.include({
}); });
}, },
open: function() { opened: function(handler) {
this._super.apply(this, arguments); return this._super.apply(this, arguments).then(function(){
if (this.$modal) { if (this.$modal) {
this.$modal.draggable({ this.$modal.draggable({
handle: '.modal-header', handle: '.modal-header',
helper: false helper: false
}); });
} }
return this; }.bind(this));
}, },
close: function() { close: function() {