diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-02-25 10:19:20 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-02-27 10:28:30 +0000 |
| commit | 4697d7448010376397f7150b84c207978ab3010e (patch) | |
| tree | 19929461b00b740a6fa1457ebd6392ed4cc71324 /addons/web/static/lib/bootstrap/js/button.js | |
| parent | 1bd8c1e8462bf1871780f3fd127e2e345e154a2f (diff) | |
[IMP] web: update bootstrap 4.2.1 -> 4.3.1
See https://blog.getbootstrap.com/2019/02/11/bootstrap-4-3-0/
and https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/
Again, some fixes were added in this version and not in a 4.2.x version
so there is no clean way to backport them in 12.0 / saas-12.2.
If needed, the file bootstrap_review.scss is there for that.
Among the new features, two notable ones:
- The '.modal-dialog-scrollable' class which does what odoo already
implemented for all its modals. So we could remove our custom code in
a next update.
- Responsive font sizes ! Plan was to develop something similar for the
website, so this comes at the right time. The behavior is opt-in, we
will enable it in a next update.
Part of https://github.com/odoo/odoo/pull/31401
task-1944790
Diffstat (limited to 'addons/web/static/lib/bootstrap/js/button.js')
| -rw-r--r-- | addons/web/static/lib/bootstrap/js/button.js | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/addons/web/static/lib/bootstrap/js/button.js b/addons/web/static/lib/bootstrap/js/button.js index 1175c5efb86..e8dfecbaf9c 100644 --- a/addons/web/static/lib/bootstrap/js/button.js +++ b/addons/web/static/lib/bootstrap/js/button.js @@ -1,13 +1,13 @@ /*! - * Bootstrap button.js v4.2.1 (https://getbootstrap.com/) - * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Bootstrap button.js v4.3.1 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : - (global.Button = factory(global.jQuery)); -}(this, (function ($) { 'use strict'; + (global = global || self, global.Button = factory(global.jQuery)); +}(this, function ($) { 'use strict'; $ = $ && $.hasOwnProperty('default') ? $['default'] : $; @@ -34,7 +34,7 @@ */ var NAME = 'button'; - var VERSION = '4.2.1'; + var VERSION = '4.3.1'; var DATA_KEY = 'bs.button'; var EVENT_KEY = "." + DATA_KEY; var DATA_API_KEY = '.data-api'; @@ -120,8 +120,8 @@ _proto.dispose = function dispose() { $.removeData(this._element, DATA_KEY); this._element = null; - }; // Static - + } // Static + ; Button._jQueryInterface = function _jQueryInterface(config) { return this.each(function () { @@ -183,4 +183,5 @@ return Button; -}))); +})); +//# sourceMappingURL=button.js.map |
