diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2014-04-10 17:45:20 +0200 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2014-04-10 17:45:20 +0200 |
| commit | 09cd7585e2899e6422e5a452d9ee79b44e0c77da (patch) | |
| tree | c0eb7c99eb67d859114191fe75731f81dffd5d09 /addons/web/static/src | |
| parent | 049539809d4d1e4d37eac4b59d08d10c39c731f7 (diff) | |
[FIX]remove draggable on modal window + clean up
bzr revid: csn@openerp.com-20140410154520-h7790rxb8h2hx2zx
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/chrome.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 7c1cf198efe..f49d9e4d5b1 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -83,8 +83,6 @@ instance.web.Dialog = instance.web.Widget.extend({ */ init: function (parent, options, content) { var self = this; - this.css_layout_outer = ['width','min_width','max_width']; - this.css_layout_inner = ['height','min_height','max_height']; this._super(parent); this.content_to_set = content; this.dialog_options = { @@ -166,7 +164,6 @@ instance.web.Dialog = instance.web.Widget.extend({ dialog_body.find(".modal-body").addClass(options.dialogClass); } dialog_body.openerpClass(); - dialog_body.draggable({ handle: ".modal-header", containment: "window" }); this.$dialog_box.on('hidden.bs.modal',this,function(){ self.trigger("closing"); |
