summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2019-04-01 04:52:28 +0000
committerPriyanka Kakadiya <pka@odoo.com>2019-04-02 11:26:58 +0000
commitfc01f72271a65611d699733a76be02a678bc33ab (patch)
tree47fd955ed8054c6fd526449fc4e23b3480199305 /addons/web/static/src
parente2e4b16751a23f591f9d331c47bca5d28e2dd250 (diff)
[FIX] web: remove comfiguration panel without page refresh
- This issue occurs after the upgrading latest bootstrap library While there is an action with data-toggle="collapse" on anchor tag and also any parent function which returns false, it will prevent the click event from bubbling to parent elements. Hence, It will not call the click event in bootstrap library, and configuration panel will not be removed unless you refresh the page - so, removed return statement as no need to return anything from the event function. Related to Issue: 1943483
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/views/abstract_controller.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/abstract_controller.js b/addons/web/static/src/js/views/abstract_controller.js
index 53afb4a1fbd..0bd156516fa 100644
--- a/addons/web/static/src/js/views/abstract_controller.js
+++ b/addons/web/static/src/js/views/abstract_controller.js
@@ -479,7 +479,6 @@ var AbstractController = mvc.Controller.extend(ActionMixin, {
additional_context: _.extend({}, data.context)
});
}
- return false;
},
/**
* FIXME: this logic should be rethought