[icinga-checkins] icinga.org: icinga-web/mhein/default: * Changed command message when no options are available, added minwidth for ack window (#fixes 727)

git at icinga.org git at icinga.org
Fri Sep 10 15:22:16 CEST 2010


Module: icinga-web
Branch: mhein/default
Commit: 8247c834e1440161c2025d47ebe3d623ba170020
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=8247c834e1440161c2025d47ebe3d623ba170020

Author: jmosshammer <jmosshammer at ws-jmosshammer.(none)>
Date:   Thu Sep  9 11:38:51 2010 +0200

* Changed command message when no options are available, added minwidth for ack window (#fixes 727)

---

 .../AppKit/templates/User/PreferencesSuccess.php   |    4 +++-
 .../System/ViewProc/js/IcingaCommandHandler.js     |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app/modules/AppKit/templates/User/PreferencesSuccess.php b/app/modules/AppKit/templates/User/PreferencesSuccess.php
index 2ad8189..c4636ac 100755
--- a/app/modules/AppKit/templates/User/PreferencesSuccess.php
+++ b/app/modules/AppKit/templates/User/PreferencesSuccess.php
@@ -22,7 +22,7 @@ Ext.onReady(function() {
 		border:false,
 		monitorResize: true,
 		height: 450,
-
+		
 		defaults: {
 			border: false
 		},
@@ -314,7 +314,9 @@ Ext.onReady(function() {
 	}
 	
 	if (Ext.getCmp('user_prefs_target')) {
+		Ext.getCmp('user_prefs_target').setWidth(Ext.getBody().getWidth*0.70);
 		Ext.getCmp('user_prefs_target').add(AppKit.UserPrefs.container);
+
 		AppKit.UserPrefs.container.doLayout();
 		Ext.getCmp('user_prefs_target').doLayout();
 	}
diff --git a/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js b/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js
index 6eebc88..9bdce17 100755
--- a/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js
+++ b/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js
@@ -132,7 +132,7 @@ IcingaCommandHandler.prototype = {
 					}),
 					
 					'name': '__return_value_combo',
-					
+					width:300,
 					mode: 'local',
 					typeAhead: true,
 					triggerAction: 'all',
@@ -350,7 +350,7 @@ IcingaCommandHandler.prototype = {
 				if (bAdd === false) {
 					oForm.add({
 						xtype: 'label',
-						text: _('no more fields')
+						text: _('This command will be send to all selected items')
 					});
 				}
 				





More information about the icinga-checkins mailing list