update customize

This commit is contained in:
ivan deng
2021-03-31 17:55:01 +08:00
parent 45daf52e22
commit 66248c3615
13 changed files with 120 additions and 46 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;
}
}
}