[icinga-checkins] icinga.org: icinga-web/master: Allow cronk duplication from grid actions

git at icinga.org git at icinga.org
Fri Oct 19 12:19:57 CEST 2012


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Wed Jul 18 15:23:11 2012 +0200

Allow cronk duplication from grid actions

---

 .../js/Cronk/grid/renderer/IcingaColumnRenderer.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Cronk/grid/renderer/IcingaColumnRenderer.js b/app/modules/Cronks/lib/js/Cronk/grid/renderer/IcingaColumnRenderer.js
index 4e4a4c4..617e809 100644
--- a/app/modules/Cronks/lib/js/Cronk/grid/renderer/IcingaColumnRenderer.js
+++ b/app/modules/Cronks/lib/js/Cronk/grid/renderer/IcingaColumnRenderer.js
@@ -40,10 +40,12 @@ Ext.ns('Cronk.grid');
                     var id = (cfg.idPrefix || 'empty') + 'subGridComponent';
 
                     var cronk = {
+                        id: id,
                         parentid: id,
                         title: (cfg.titlePrefix || '') + " " + record.data[cfg.labelField],
                         crname: 'gridProc',
                         closable: true,
+                        allowDuplicate: true,
                         params: {
                             template: cfg.targetTemplate,
                             module: 'Cronks',





More information about the icinga-checkins mailing list