[icinga-checkins] icinga.org: icinga-web/master: * Comment form height

git at icinga.org git at icinga.org
Thu Nov 10 11:43:19 CET 2011


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Wed Nov  9 17:14:20 2011 +0100

* Comment form height

---

 .../Api/lib/js/Command/Type/AcknowledgeProblem.js  |    1 +
 app/modules/Api/lib/js/Command/Type/AddComment.js  |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/app/modules/Api/lib/js/Command/Type/AcknowledgeProblem.js b/app/modules/Api/lib/js/Command/Type/AcknowledgeProblem.js
index 1bccf5f..d87f71a 100644
--- a/app/modules/Api/lib/js/Command/Type/AcknowledgeProblem.js
+++ b/app/modules/Api/lib/js/Command/Type/AcknowledgeProblem.js
@@ -63,6 +63,7 @@ Ext.ns('Icinga.Api.Command.Type');
         }
 
     });
+    
     Icinga.Api.Command.Type.AcknowledgeHostProblem = Icinga.Api.Command.Type.AcknowledgeProblem;
     Icinga.Api.Command.Type.AcknowledgeSVCProblem = Icinga.Api.Command.Type.AcknowledgeProblem;
 })();
\ No newline at end of file
diff --git a/app/modules/Api/lib/js/Command/Type/AddComment.js b/app/modules/Api/lib/js/Command/Type/AddComment.js
index 4e91c63..c851419 100644
--- a/app/modules/Api/lib/js/Command/Type/AddComment.js
+++ b/app/modules/Api/lib/js/Command/Type/AddComment.js
@@ -6,6 +6,7 @@ Ext.ns('Icinga.Api.Command.Type');
     "use strict";
     Icinga.Api.Command.Type.AddComment = Ext.extend(Icinga.Api.Command.Type.Abstract, {
         layout: 'form',
+        border: false,
         buildForm: function() {
             var errorLabel = new Ext.form.Label({
                 
@@ -27,9 +28,9 @@ Ext.ns('Icinga.Api.Command.Type');
             },{
                 xtype: 'textarea',
                 fieldLabel: _('Comment'),
+                allowBlank : false,
                 name: 'comment',
-                anchor: '100% 80%',
-                height: 300
+                anchor: '100% 80%'
             },errorLabel
             ]);
             this.formAction.failure = function(rawResponse) {





More information about the icinga-checkins mailing list