summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/chrome')
-rw-r--r--addons/web/static/src/js/chrome/control_panel.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/web/static/src/js/chrome/control_panel.js b/addons/web/static/src/js/chrome/control_panel.js
index 03b9e756bb7..558dde933e9 100644
--- a/addons/web/static/src/js/chrome/control_panel.js
+++ b/addons/web/static/src/js/chrome/control_panel.js
@@ -252,9 +252,6 @@ var ControlPanel = Widget.extend({
*/
_update_search_view: function (searchview, isHidden, groupable) {
if (searchview) {
- // Set the $buttons div (in the DOM) of the searchview as the $buttons
- // have been appended to a jQuery node not in the DOM at SearchView initialization
- searchview.$buttons = this.nodes.$searchview_buttons;
searchview.toggle_visibility(!isHidden);
if (groupable !== undefined){
searchview.groupby_menu.do_toggle(groupable);