[icinga-checkins] icinga.org: icinga-web/jmosshammer/filtering: Fix for AdvancedHoststatusColumnRenderer when db returns object id as a number (thx to crysmi, #refs 3417)

git at icinga.org git at icinga.org
Wed Jan 2 15:43:54 CET 2013


Module: icinga-web
Branch: jmosshammer/filtering
Commit: 6678b9ca4d13cf2277aa8e8a33dab865cfadad8c
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=6678b9ca4d13cf2277aa8e8a33dab865cfadad8c

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Wed Dec 19 14:29:24 2012 +0100

Fix for AdvancedHoststatusColumnRenderer when db returns object id as a number (thx to crysmi, #refs 3417)

---

 .../renderer/AdvancedHostStatusColumnRenderer.js   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Cronk/grid/renderer/AdvancedHostStatusColumnRenderer.js b/app/modules/Cronks/lib/js/Cronk/grid/renderer/AdvancedHostStatusColumnRenderer.js
index 8be0471..c9ea257 100644
--- a/app/modules/Cronks/lib/js/Cronk/grid/renderer/AdvancedHostStatusColumnRenderer.js
+++ b/app/modules/Cronks/lib/js/Cronk/grid/renderer/AdvancedHostStatusColumnRenderer.js
@@ -43,7 +43,7 @@ Ext.ns('Cronk.grid');
 
                     hostcols.each(function (elem) {
 
-                        if (current.HOST_OBJECT_ID !== elem.getAttribute("host_object_id")) {
+                        if (current.HOST_OBJECT_ID != elem.getAttribute("host_object_id")) {
                             return true;
                         }
 
@@ -156,4 +156,4 @@ Ext.ns('Cronk.grid');
         };
     })();
 
-})();
\ No newline at end of file
+})();





More information about the icinga-checkins mailing list