You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/10/18 00:19:01 UTC
git commit: updated refs/heads/master to 1218907
Updated Branches:
refs/heads/master 73c7de70e -> 12189074b
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/12189074
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/12189074
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/12189074
Branch: refs/heads/master
Commit: 12189074b2e39a99b7021fdb19286a45b6150d18
Parents: 73c7de7
Author: Jessica Wang <je...@apache.org>
Authored: Thu Oct 17 15:16:36 2013 -0700
Committer: Jessica Wang <je...@apache.org>
Committed: Thu Oct 17 15:18:45 2013 -0700
----------------------------------------------------------------------
ui/scripts/system.js | 1 +
ui/scripts/ui/widgets/listView.js | 3 +++
2 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/12189074/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 0af3952..dea495b 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -13779,6 +13779,7 @@
title: 'Blades',
listView: {
id: 'blades',
+ hideSearchBar: true,
fields: {
chassis: {
label: 'Chassis'
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/12189074/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index a47c490..36baa95 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -1713,7 +1713,10 @@
noActionCol: listViewData.noActionCol
});
createFilters($toolbar, listViewData.filters);
+
+ if (listViewData.hideSearchBar != true) {
createSearchBar($toolbar, listViewData);
+ }
loadBody(
$table,