cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gir...@apache.org
Subject [08/50] git commit: updated refs/heads/marvin to df58f51
Date Wed, 29 Jan 2014 08:53:43 GMT
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/marvin
Commit: c4b3e4c0cc8cf87de0e166fa7ae424ae9be76c63
Parents: 9f18b07
Author: Brian Federle <brian.federle@citrix.com>
Authored: Mon Jan 27 13:38:02 2014 -0800
Committer: Brian Federle <brian.federle@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


Mime
View raw message