diff options
| author | Rémi Rahir <rar@odoo.com> | 2018-04-03 15:52:17 +0200 |
|---|---|---|
| committer | Rémi Rahir <rar@odoo.com> | 2018-04-03 15:52:17 +0200 |
| commit | c3d1eda0176b44fd3e43364427f8f00a28615c0d (patch) | |
| tree | 281c1515621def1c6c72daa35865c3e0daaec348 /addons/web/static/src/js/views | |
| parent | 55878df5fff0e6da926e4503b13a51052a4201e0 (diff) | |
[FIX] web,account,google_calendar: chasing breaking spaces
Before this commit, some breaking spaces were present in the js code.
Such spaces are misinterpreted and worked by luck.
This has become a problem with exported js bunldes (e.g. the
external_lib bundle in im_livechat).
This commit replaces breaking spaces by regular spaces.
Diffstat (limited to 'addons/web/static/src/js/views')
| -rw-r--r-- | addons/web/static/src/js/views/basic/basic_controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/views/basic/basic_controller.js b/addons/web/static/src/js/views/basic/basic_controller.js index 328daf956ee..93b8d1ce82d 100644 --- a/addons/web/static/src/js/views/basic/basic_controller.js +++ b/addons/web/static/src/js/views/basic/basic_controller.js @@ -306,7 +306,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, { * * @private */ - _disableButtons: function () { + _disableButtons: function () { if (this.$buttons) { this.$buttons.find('button').attr('disabled', true); } @@ -352,7 +352,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, { * * @private */ - _enableButtons: function () { + _enableButtons: function () { if (this.$buttons) { this.$buttons.find('button').removeAttr('disabled'); } |
