3
0
Fork 0

[11.0][FIX] web_dialog_size: Draggable Dialog

11.0
QS5ELkMu 2018-07-18 12:45:50 +02:00
parent 0b0ceb9de3
commit b4d46e89a1
1 changed files with 9 additions and 9 deletions

View File

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