This is an automated email from the ASF dual-hosted git repository.

devriesb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/master by this push:
     new 9627941  NIFI-6188 - Added 1s delay on Search control autocomplete 
query event to prevent premature results retrieval This closes #3408. 
Signed-off-by: Brandon Devries <[email protected]>
9627941 is described below

commit 96279415a711f41a07eec5fc77f032b98f0ee014
Author: Alex Aversa <[email protected]>
AuthorDate: Thu Apr 4 18:16:13 2019 +0000

    NIFI-6188 - Added 1s delay on Search control autocomplete query event to 
prevent premature results retrieval
    This closes #3408.
    Signed-off-by: Brandon Devries <[email protected]>
---
 .../js/nf/canvas/controllers/nf-ng-canvas-flow-status-controller.js      | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-flow-status-controller.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-flow-status-controller.js
index 10ea150..e6558f5 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-flow-status-controller.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-flow-status-controller.js
@@ -229,6 +229,7 @@
 
                     // configure the new searchAutocomplete jQuery UI widget
                     this.getInputElement().searchAutocomplete({
+                        delay : 1000,
                         appendTo: '#search-flow-results',
                         position: {
                             my: 'right top',

Reply via email to