[icinga-checkins] icinga.org: icinga-web/master: * UI Guidelines: CommandHandler (refs #1558)

git at icinga.org git at icinga.org
Thu Feb 23 14:02:02 CET 2012


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

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Thu Feb 23 14:01:42 2012 +0100

* UI Guidelines: CommandHandler (refs #1558)

---

 .../Cronks/lib/js/grid/IcingaCommandHandler.js     |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app/modules/Cronks/lib/js/grid/IcingaCommandHandler.js b/app/modules/Cronks/lib/js/grid/IcingaCommandHandler.js
index 2a6b030..6ebec14 100755
--- a/app/modules/Cronks/lib/js/grid/IcingaCommandHandler.js
+++ b/app/modules/Cronks/lib/js/grid/IcingaCommandHandler.js
@@ -360,15 +360,17 @@ IcingaCommandHandler.prototype = {
                     closable: true,
                     modal: true,
                     defaultType: 'field',
-
-                    bbar: [{
+                    defaults: {
+                        padding: 5
+                    },
+                    buttons: [{
                         text: _('OK'),
                         iconCls: 'icinga-icon-accept',
                         handler: function (b, e) {
                             oForm.getForm().doAction(oFormAction);
                         }
                     }, {
-                        text: _('Abort'),
+                        text: _('Cancel'),
                         iconCls: 'icinga-icon-cross',
                         handler: function (b, e) {
                             oWin.close();





More information about the icinga-checkins mailing list