You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/09 09:57:33 UTC
git commit: updated refs/heads/4.5 to fde2887
Repository: cloudstack
Updated Branches:
refs/heads/4.5 ab8f36785 -> fde288747
CLOUDSTACK-8307: UI not showing all Domains, if there are more than 24 domains then the last domain gets cut off on firefox and IE. Added a flag in treeview widget and based on the flag adding css class which will make overflow as scroll instead of the default auto.
Fixes #101
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
(cherry picked from commit 8591383bcc09b4fd0ff1c6336c6c45199be250b3)
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fde28874
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fde28874
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fde28874
Branch: refs/heads/4.5
Commit: fde2887476c0274b7b2f8bc80cf5b5b14f067132
Parents: ab8f367
Author: ramamurtis <ra...@citrix.com>
Authored: Mon Mar 9 14:15:29 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Mar 9 14:27:23 2015 +0530
----------------------------------------------------------------------
ui/css/cloudstack3.css | 4 ++++
ui/scripts/domains.js | 1 +
ui/scripts/ui/widgets/treeView.js | 4 ++++
3 files changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fde28874/ui/css/cloudstack3.css
----------------------------------------------------------------------
diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css
index 70a8abf..2a34fbe 100644
--- a/ui/css/cloudstack3.css
+++ b/ui/css/cloudstack3.css
@@ -7882,6 +7882,10 @@ label.error {
overflow: auto;
}
+.tree-view.overflowScroll {
+ overflow: scroll;
+}
+
#browser .tree-view div.toolbar {
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fde28874/ui/scripts/domains.js
----------------------------------------------------------------------
diff --git a/ui/scripts/domains.js b/ui/scripts/domains.js
index a3cc8c0..e46f104 100644
--- a/ui/scripts/domains.js
+++ b/ui/scripts/domains.js
@@ -21,6 +21,7 @@
// Domain tree
treeView: {
+ overflowScroll: true,
// Details
detailView: {
name: 'Domain details',
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fde28874/ui/scripts/ui/widgets/treeView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/treeView.js b/ui/scripts/ui/widgets/treeView.js
index 2681945..c948e10 100644
--- a/ui/scripts/ui/widgets/treeView.js
+++ b/ui/scripts/ui/widgets/treeView.js
@@ -83,6 +83,10 @@
var treeViewArgs = args.treeView;
var $browser = args.$browser;
+ if(treeViewArgs.overflowScroll) {
+ $treeView.addClass('overflowScroll');
+ }
+
makeTreeList({
$treeView: $treeView,
parent: null,