You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by de...@apache.org on 2019/04/05 16:33:09 UTC

[nifi] branch master updated: NIFI-6188 - Added 1s delay on Search control autocomplete query event to prevent premature results retrieval This closes #3408. Signed-off-by: Brandon Devries

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 <de...@apache.org>
9627941 is described below

commit 96279415a711f41a07eec5fc77f032b98f0ee014
Author: Alex Aversa <al...@gmail.com>
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 <de...@apache.org>
---
 .../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',