[icinga-checkins] icinga.org: icinga-web/r1.6: * Layout fixes role manager (fixes #2162)

git at icinga.org git at icinga.org
Fri Dec 16 14:53:18 CET 2011


Module: icinga-web
Branch: r1.6
Commit: 650c6f91f6cb49b36c14ab90a471e8bfafba9d22
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=650c6f91f6cb49b36c14ab90a471e8bfafba9d22

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Dec 13 10:52:37 2011 +0100

* Layout fixes role manager (fixes #2162)

---

 app/modules/AppKit/lib/js/admin/RoleManager.js     |    1 -
 .../lib/js/admin/components/RoleInheritanceView.js |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/app/modules/AppKit/lib/js/admin/RoleManager.js b/app/modules/AppKit/lib/js/admin/RoleManager.js
index 680cfb6..777a7b9 100644
--- a/app/modules/AppKit/lib/js/admin/RoleManager.js
+++ b/app/modules/AppKit/lib/js/admin/RoleManager.js
@@ -62,7 +62,6 @@ AppKit.Admin.RoleManager = Ext.extend(Ext.Container, {
                 items: [
                     grid,
                     new AppKit.Admin.Components.RoleInheritanceView(Ext.apply(cfg),{grid:grid,store: this.roleList})
-
                 ],
                 autoScroll:true,
                 listeners: {
diff --git a/app/modules/AppKit/lib/js/admin/components/RoleInheritanceView.js b/app/modules/AppKit/lib/js/admin/components/RoleInheritanceView.js
index 350daa3..8565049 100644
--- a/app/modules/AppKit/lib/js/admin/components/RoleInheritanceView.js
+++ b/app/modules/AppKit/lib/js/admin/components/RoleInheritanceView.js
@@ -8,10 +8,12 @@ Ext.ns("AppKit.Admin.Components");
     AppKit.Admin.Components.RoleInheritanceView = Ext.extend(Ext.tree.TreePanel, {
         roleProviderURI: "",
         region: 'south',
+        split: true,
         height: 300,
         grid: null,
         store: null,
         layout: 'fit',
+        autoScroll : true,
         constructor: function (cfg) {
             if (!cfg) {
                 cfg = {};





More information about the icinga-checkins mailing list