diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-30 17:23:30 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-30 17:23:30 +0200 |
| commit | c8cc54559b75a621e4444ecdca6abd901b45e494 (patch) | |
| tree | 92141325d4dbbf70bbfb8e0c040d4435c8d2378f /addons/web/static/src/js/framework/dialog.js | |
| parent | b2804b1d2ae5fd7ec5c0eca79a8db77476badc84 (diff) | |
| parent | 91a14488250bc2bb405cc6d300359aa272642484 (diff) | |
[MERGE] forward port branch 10.0 up to 91a1448
Diffstat (limited to 'addons/web/static/src/js/framework/dialog.js')
| -rw-r--r-- | addons/web/static/src/js/framework/dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/framework/dialog.js b/addons/web/static/src/js/framework/dialog.js index d527dcf31d8..f23de4f426f 100644 --- a/addons/web/static/src/js/framework/dialog.js +++ b/addons/web/static/src/js/framework/dialog.js @@ -69,6 +69,7 @@ var Dialog = Widget.extend({ if(this.$content) { this.setElement(this.$content); } + this.$el.addClass('modal-body ' + this.dialogClass); }, set_buttons: function(buttons) { @@ -118,7 +119,6 @@ var Dialog = Widget.extend({ var self = this; this.replace(this.$modal.find(".modal-body")).then(function() { - self.$el.addClass('modal-body ' + self.dialogClass); self.$modal.modal('show'); self._opened.resolve(); }); |
