[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * REPORTING: pre merge

git at icinga.org git at icinga.org
Fri Aug 5 09:13:15 CEST 2011


Module: icinga-web
Branch: jmosshammer/default
Commit: 324dee03b867c1ec8f8193637e4ee2a2346ca9e9
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=324dee03b867c1ec8f8193637e4ee2a2346ca9e9

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Jul 28 11:28:19 2011 +0200

* REPORTING: pre merge

---

 .../Reporting/lib/js/Icinga.Reporting.Cronk.js     |   39 +++++++++++---------
 1 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/app/modules/Reporting/lib/js/Icinga.Reporting.Cronk.js b/app/modules/Reporting/lib/js/Icinga.Reporting.Cronk.js
index 66a0196..edad0f9 100644
--- a/app/modules/Reporting/lib/js/Icinga.Reporting.Cronk.js
+++ b/app/modules/Reporting/lib/js/Icinga.Reporting.Cronk.js
@@ -16,7 +16,7 @@ Icinga.Reporting.Cronk = Ext.extend(Ext.TabPanel, {
 		Icinga.Reporting.Cronk.superclass.initComponent.call(this);
 		
 		this.on('added', function() {
-			this.activate(2);
+			this.activate(0);
 		}, this, { single : true });
 		
 		if (this.enable_onthefly == true) {
@@ -53,23 +53,26 @@ Icinga.Reporting.Cronk = Ext.extend(Ext.TabPanel, {
 			});
 		}
 		
-		if (this.enable_scheduling == true) {
-			
-			this.enableScheduling = new Icinga.Reporting.util.ReportScheduling({
-				treeloader_url : this.treeloader_url,
-				scheduler_list_url : this.scheduler_list_url,
-				scheduler_get_url : this.scheduler_get_url,
-				scheduler_delete_url : this.scheduler_delete_url,
-				parentCmp : this
-			});
-			
-			this.add({
-				title: _('Scheduling'),
-				tabTip: _('Report scheduling'),
-				items : this.enableScheduling,
-				iconCls : 'icinga-icon-alarm-clock'
-			});
-		}
+		/**
+		 * @Todo: Implement this (80%)
+		 */
+//		if (this.enable_scheduling == true) {
+//			
+//			this.enableScheduling = new Icinga.Reporting.util.ReportScheduling({
+//				treeloader_url : this.treeloader_url,
+//				scheduler_list_url : this.scheduler_list_url,
+//				scheduler_get_url : this.scheduler_get_url,
+//				scheduler_delete_url : this.scheduler_delete_url,
+//				parentCmp : this
+//			});
+//			
+//			this.add({
+//				title: _('Scheduling'),
+//				tabTip: _('Report scheduling'),
+//				items : this.enableScheduling,
+//				iconCls : 'icinga-icon-alarm-clock'
+//			});
+//		}
 		
 //		, {
 //			title: _('Schedules'),





More information about the icinga-checkins mailing list