From 530c2fa78ac211ca8ee4e60d42842a63ae737abc Mon Sep 17 00:00:00 2001 From: Chiew Yee Xin Date: Tue, 11 Jul 2017 15:19:03 +0900 Subject: [PATCH] Remove click interaction on filter input Update tables only on keypress events so that empty tables do not blink when the filter input gets clicked on. Change-Id: Ifebefc1867254bd1ad74112550acd1a5cf2e0a26 Closes-Bug: #1670809 --- horizon/static/horizon/js/horizon.tables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizon/static/horizon/js/horizon.tables.js b/horizon/static/horizon/js/horizon.tables.js index a299c64ec1..3fc8c97b66 100644 --- a/horizon/static/horizon/js/horizon.tables.js +++ b/horizon/static/horizon/js/horizon.tables.js @@ -619,7 +619,7 @@ horizon.datatables.set_table_query_filter = function (parent) { var qs = input.quicksearch(table_selector + ' tbody tr', { 'delay': 300, 'loader': 'span.loading', - 'bind': 'keyup click', + 'bind': 'keyup', 'show': this.show, 'hide': this.hide, onBefore: function () {