cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/4.2 to 7ef4c7e
Date Thu, 17 Oct 2013 22:16:55 GMT
Updated Branches:
  refs/heads/4.2 8a0ae4a03 -> 7ef4c7e1a


CLOUDSTACK-4889: UI > (1) extend listView widget to support option of hiding/showing search
box. (2) Hide search box in UCS Blades tab.


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

Branch: refs/heads/4.2
Commit: 7ef4c7e1a47fca9ac78e5391638782cd29a6188e
Parents: 8a0ae4a
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu Oct 17 15:16:36 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Thu Oct 17 15:16:36 2013 -0700

----------------------------------------------------------------------
 ui/scripts/system.js              | 1 +
 ui/scripts/ui/widgets/listView.js | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7ef4c7e1/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index e40873b..3b57a9d 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -13785,6 +13785,7 @@
                                 title: 'Blades',
                                 listView: {
                                     id: 'blades',
+                                    hideSearchBar: true,
                                     fields: {                                        
                                         chassis: {
                                             label: 'Chassis'

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7ef4c7e1/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 076b3ab..edb03d7 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -1580,7 +1580,10 @@
                 detailView: listViewData.detailView
             });
         createFilters($toolbar, listViewData.filters);
-        createSearchBar($toolbar, listViewData);
+                
+        if (listViewData.hideSearchBar != true) {
+            createSearchBar($toolbar, listViewData);
+        }
 
         loadBody(
             $table,


Mime
View raw message