[icinga-checkins] icinga.org: icinga-web/mfrosch/fixes: Fixes pnp extension ( Thanks to abraxas)

git at icinga.org git at icinga.org
Tue Nov 27 15:53:50 CET 2012


Module: icinga-web
Branch: mfrosch/fixes
Commit: 601daac621d39ea26bb56b570e11c3996b9a68ca
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=601daac621d39ea26bb56b570e11c3996b9a68ca

Author: Marius Hein <mhein at waheela>
Date:   Tue Nov 27 10:46:00 2012 +0100

Fixes pnp extension (Thanks to abraxas)

fixes #3427

---

 .../templateExtensions/pnp-host-extension.xml      |    4 ++--
 .../templateExtensions/pnp-service-extension.xml   |    4 ++--
 doc/THANKS                                         |    3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml b/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
index 4c60089..65cec99 100644
--- a/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
+++ b/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
@@ -30,7 +30,7 @@
                                     <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
-                                            if (this.getRecord().get("process_performance_data") === "1") {
+                                            if (this.getRecord().get("process_performance_data") == "1") {
                                                 return true;
                                             } else {
                                                 return false;
@@ -68,7 +68,7 @@
                                     <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
-                                            if (this.getRecord().get("process_performance_data") === "1") {
+                                            if (this.getRecord().get("process_performance_data") == "1") {
                                                 return true;
                                             } else {
                                                 return false;
diff --git a/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml b/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
index a2f2062..74a0917 100644
--- a/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
+++ b/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
@@ -30,7 +30,7 @@
                                     <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
-                                            if (this.getRecord().get("process_performance_data") === "1") {
+                                            if (this.getRecord().get("process_performance_data") == "1") {
                                                 return true;
                                             } else {
                                                 return false;
@@ -68,7 +68,7 @@
                                     <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
-                                            if (this.getRecord().get("process_performance_data") === "1") {
+                                            if (this.getRecord().get("process_performance_data") == "1") {
                                                 return true;
                                             } else {
                                                 return false;
diff --git a/doc/THANKS b/doc/THANKS
index 0a3482c..4f1c65b 100644
--- a/doc/THANKS
+++ b/doc/THANKS
@@ -27,7 +27,8 @@ name, please let us know.
     * mopp
     * darkarchon
     * Markus Frosch
-    * Philipp Deneu  
+    * Philipp Deneu
+    * abraxas 
 
 * Design stuff
     * Karolina Hein





More information about the icinga-checkins mailing list