diff --git a/browser/src/control/Control.AutofilterDropdown.js b/browser/src/control/Control.AutofilterDropdown.js index abfe0233d..4b27dcfa9 100644 --- a/browser/src/control/Control.AutofilterDropdown.js +++ b/browser/src/control/Control.AutofilterDropdown.js @@ -225,7 +225,7 @@ L.Control.AutofilterDropdown = L.Control.extend({ this.subMenu = null; if (this.builder.windowId) - this.builder.callback('button', 'click', {id: 'cancel'}, null, this.builder); + this.builder.callback('pushbutton', 'click', {id: 'cancel'}, null, this.builder); this.builder.setWindowId(null); this.subMenuBuilder.setWindowId(null); }