Repository: ambari Updated Branches: refs/heads/trunk 12dd68ece -> 004785dd8
AMBARI-11326. Metric filter does not do a substring match. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/004785dd Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/004785dd Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/004785dd Branch: refs/heads/trunk Commit: 004785dd812bc2b722fc1b7c12842ca291b4ddcc Parents: 12dd68e Author: Jaimin Jetly <[email protected]> Authored: Thu May 21 18:23:07 2015 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Thu May 21 18:23:18 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/views/common/chosen_plugin.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/004785dd/ambari-web/app/views/common/chosen_plugin.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/chosen_plugin.js b/ambari-web/app/views/common/chosen_plugin.js index 9d413c7..e9b9fbe 100644 --- a/ambari-web/app/views/common/chosen_plugin.js +++ b/ambari-web/app/views/common/chosen_plugin.js @@ -37,6 +37,7 @@ App.JqueryChosenView = Em.View.extend({ var self = this; var elementId = "#" + self.get("elementId"); $(elementId).chosen({ + search_contains: true, placeholder_text: self.get('selectionObj.placeholder_text'), no_results_text: self.get('selectionObj.no_results_text') }).change(self.get('selectionObj.onChangeCallback'));
