Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2013-05-16 11:11:32 +0400
committersgiehl <stefan@piwik.org>2013-05-16 11:11:32 +0400
commit7c58869c60a2b6b3cdf68dca4d0a4046449942aa (patch)
treee6e700dc60ea89ffbfa3d9071d191bd1bc84d899 /plugins
parent028acc4e42af442c3600d4ebabed70f1ec8c9dcb (diff)
refs #2135 always show autocomplete when clicking on the input element
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SegmentEditor/templates/Segmentation.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SegmentEditor/templates/Segmentation.js b/plugins/SegmentEditor/templates/Segmentation.js
index 3c22b47686..c22a4d3949 100644
--- a/plugins/SegmentEditor/templates/Segmentation.js
+++ b/plugins/SegmentEditor/templates/Segmentation.js
@@ -434,7 +434,9 @@ Segmentation = (function($) {
}
});
- inputElement.click(function(e){ inputElement.keydown() });
+ inputElement.click(function(e){
+ inputElement.autocomplete('search', $(inputElement).val());
+ });
});
ajaxHandler.send();
}