You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/01/27 22:38:24 UTC

git commit: updated refs/heads/master to c4b3e4c

Updated Branches:
  refs/heads/master 9f18b075a -> c4b3e4c0c


Enable static NAT dialog: Fix search filter not working


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c4b3e4c0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c4b3e4c0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c4b3e4c0

Branch: refs/heads/master
Commit: c4b3e4c0cc8cf87de0e166fa7ae424ae9be76c63
Parents: 9f18b07
Author: Brian Federle <br...@citrix.com>
Authored: Mon Jan 27 13:38:02 2014 -0800
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Jan 27 13:38:02 2014 -0800

----------------------------------------------------------------------
 ui/scripts/network.js | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c4b3e4c0/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 4e1ce05..291def0 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -2382,6 +2382,7 @@
 
                                         listView: $.extend(true, {}, cloudStack.sections.instances, {
                                             listView: {
+                                                advSearchFields: null, // Not supported in dialogs right now due to display issues
                                                 filters: false,
                                                 subselect: {
                                                     label: 'label.use.vm.ip',
@@ -2394,6 +2395,10 @@
                                                         listAll: true
                                                     };
 
+                                                    if (args.filterBy.search.value) {
+                                                        data.name = args.filterBy.search.value;
+                                                    }
+
                                                     var $tierSelect = $(".ui-dialog-content").find('.tier-select select');
 
                                                     // if $tierSelect is not initialized, return; tierSelect() will refresh listView and come back here later