diff options
| author | qsm-odoo <qsm@odoo.com> | 2015-06-17 10:07:48 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2015-06-17 10:07:48 +0200 |
| commit | cc7fb1372dedb3fefa3afb328f1790c8451703bc (patch) | |
| tree | 0e7130d83ede54ed5769d87a5c59bd532ee6e0c2 /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 6b5609174957b7dd1b7d1701a16b00e239c7e17c (diff) | |
| parent | ac8148cfca1360982eacf1622e6a542eaca051bc (diff) | |
[MERGE] Update modals and calendar to new design
Add new modals (new Dialog class + FormViewDialog, SelectCreateDialog, ...)
+ adapt every call to old dialog classes
Add new web_calendar (+ use of new modals for events)
Adapt FieldCharDomain to new modals (+ add debug mode)
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
| -rw-r--r-- | addons/web/static/src/js/widgets/debug_manager.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js index 01db3ff71ef..b529e155fd9 100644 --- a/addons/web/static/src/js/widgets/debug_manager.js +++ b/addons/web/static/src/js/widgets/debug_manager.js @@ -131,12 +131,9 @@ if (core.debug) { }); }); new Dialog(self, { - title: _.str.sprintf(_t("Model %s fields"), - self.dataset.model), - buttons: { - Ok: function() { this.parents('.modal').modal('hide');} - }, - }, $root).open(); + title: _.str.sprintf(_t("Model %s fields"), self.dataset.model), + $content: $root + }).open(); }); }, fvg: function() { |
