update common

This commit is contained in:
ivan deng
2020-11-16 16:37:05 +08:00
parent 1d349b2a58
commit 56ec45102f
11 changed files with 64 additions and 54 deletions

View File

@@ -0,0 +1,17 @@
odoo.define('app_odoo_customize.dialog', function (require) {
'use strict';
var Dialog = require('web.Dialog');
Dialog.include({
open: function () {
this._super.apply(this, arguments);
this._opened.then(function(){
$(".modal-content").draggable({
handle: ".modal-header"
});
});
return this;
},
});
});

View File

@@ -0,0 +1,7 @@
.modal {
.modal-content {
.modal-header.ui-draggable-handle {
cursor: move;
}
}
}