[icinga-checkins] icinga.org: icinga-web/mfrosch/1.8.2: Updating contrib businessprocess-icinga-cronk (fixes #3690)

git at icinga.org git at icinga.org
Mon Feb 11 19:22:17 CET 2013


Module: icinga-web
Branch: mfrosch/1.8.2
Commit: 516d839b409c9fa9de5b9e642ab79b167d0273de
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=516d839b409c9fa9de5b9e642ab79b167d0273de

Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Mon Feb 11 16:50:29 2013 +0100

Updating contrib businessprocess-icinga-cronk (fixes #3690)

Remote version: 3602108538f99e494f0ac9201aac90fd6ad17f3d
                Mon Feb 11 16:48:10 2013 +0100

---

 .../BPAddon/models/businessProcessModel.class.php  |    4 ++--
 .../BPAddon/templates/OverviewSuccess.php          |    4 ++--
 contrib/businessprocess-icinga-cronk/doc/CHANGELOG |    3 +++
 contrib/businessprocess-icinga-cronk/doc/VERSION   |    2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/contrib/businessprocess-icinga-cronk/BPAddon/models/businessProcessModel.class.php b/contrib/businessprocess-icinga-cronk/BPAddon/models/businessProcessModel.class.php
index be52741..88f2e9e 100644
--- a/contrib/businessprocess-icinga-cronk/BPAddon/models/businessProcessModel.class.php
+++ b/contrib/businessprocess-icinga-cronk/BPAddon/models/businessProcessModel.class.php
@@ -63,7 +63,7 @@ class BPAddon_businessProcessModel extends BPAddonBaseModel {
     }
 
     public function setName($name) {
-        $this->name = $name;
+        $this->name = trim(str_replace(":","",$name));
     }
 
     public function setLongName($name) {
@@ -266,4 +266,4 @@ PROCESS;
         return $string;
     }
 
-}
\ No newline at end of file
+}
diff --git a/contrib/businessprocess-icinga-cronk/BPAddon/templates/OverviewSuccess.php b/contrib/businessprocess-icinga-cronk/BPAddon/templates/OverviewSuccess.php
index dc90724..891e09f 100644
--- a/contrib/businessprocess-icinga-cronk/BPAddon/templates/OverviewSuccess.php
+++ b/contrib/businessprocess-icinga-cronk/BPAddon/templates/OverviewSuccess.php
@@ -111,8 +111,8 @@ Cronk.util.initEnvironment(<?php CronksRequestUtil::echoJsonString($rd); ?>, fun
         },
         applyState: function(state) {
             if(!state) {
-                this.autoRefresh = true;
-                this.toggleAutorefresh(null,true,true);
+                this.autoRefresh = false;
+                this.toggleAutorefresh(null,false,true);
                 return null;
             }
             if(state.conf)
diff --git a/contrib/businessprocess-icinga-cronk/doc/CHANGELOG b/contrib/businessprocess-icinga-cronk/doc/CHANGELOG
new file mode 100644
index 0000000..14986f4
--- /dev/null
+++ b/contrib/businessprocess-icinga-cronk/doc/CHANGELOG
@@ -0,0 +1,3 @@
+1.2.3
+------------------------------
+* Bugfix in config parser
diff --git a/contrib/businessprocess-icinga-cronk/doc/VERSION b/contrib/businessprocess-icinga-cronk/doc/VERSION
index d848ae8..5dfe453 100644
--- a/contrib/businessprocess-icinga-cronk/doc/VERSION
+++ b/contrib/businessprocess-icinga-cronk/doc/VERSION
@@ -1 +1 @@
-1.2.2.
+1.2.3rc





More information about the icinga-checkins mailing list