[icinga-checkins] icinga.org: icinga-web/master: * Fixed auth key being read-only, fixed refreshbutton hidden on too small screens (fixes #2326)

git at icinga.org git at icinga.org
Mon Feb 20 17:40:37 CET 2012


Module: icinga-web
Branch: master
Commit: 716d11186b00167d08da676a6c5691b19370bd59
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=716d11186b00167d08da676a6c5691b19370bd59

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Mon Feb 20 12:57:02 2012 +0100

* Fixed auth key being read-only, fixed refreshbutton hidden on too small screens (fixes #2326)

---

 app/modules/AppKit/lib/js/admin/UserEditForm.js |    4 ++--
 app/modules/AppKit/lib/js/admin/UserManager.js  |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app/modules/AppKit/lib/js/admin/UserEditForm.js b/app/modules/AppKit/lib/js/admin/UserEditForm.js
index 4907b6d..2602107 100644
--- a/app/modules/AppKit/lib/js/admin/UserEditForm.js
+++ b/app/modules/AppKit/lib/js/admin/UserEditForm.js
@@ -377,12 +377,12 @@ AppKit.Admin.UserEditForm = function(cfg) {
                 fieldLabel: _('Authkey for Api (optional)'),
                 id: 'form_user_authkey',
                 name: 'user_authkey',
-                readOnly:true,
+                readOnly:false,
                 minLength: 8,
                 maxLength: 40,
                 text: getApiKey(),
-                width: '200',
                 xtype:'textfield',
+                width:175,
                 regex: /[A-Za-z0-9]*/
             },{
                 xtype:'button',
diff --git a/app/modules/AppKit/lib/js/admin/UserManager.js b/app/modules/AppKit/lib/js/admin/UserManager.js
index 8d61d3a..a418f63 100644
--- a/app/modules/AppKit/lib/js/admin/UserManager.js
+++ b/app/modules/AppKit/lib/js/admin/UserManager.js
@@ -229,6 +229,7 @@ Ext.ns("AppKit.Admin");
                         region: 'east',
                         xtype: 'panel',
                         padding: 5,
+                        minWidth:225,
                         disabled: true,
                         split: true,
                         id: 'userEditor',





More information about the icinga-checkins mailing list