[icinga-checkins] icinga.org: icinga-web/next: FilterEditor: fix malformatted '|| node.id'

git at icinga.org git at icinga.org
Wed Feb 13 16:10:44 CET 2013


Module: icinga-web
Branch: next
Commit: 729aa055547a6babb4ef3ef5339ce3250ed7b040
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=729aa055547a6babb4ef3ef5339ce3250ed7b040

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Feb 13 16:11:09 2013 +0100

FilterEditor: fix malformatted '|| node.id'

---

 .../lib/js/Icinga/Cronks/util/FilterEditor.js      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Icinga/Cronks/util/FilterEditor.js b/app/modules/Cronks/lib/js/Icinga/Cronks/util/FilterEditor.js
index 449ff1f..de04cc6 100755
--- a/app/modules/Cronks/lib/js/Icinga/Cronks/util/FilterEditor.js
+++ b/app/modules/Cronks/lib/js/Icinga/Cronks/util/FilterEditor.js
@@ -287,7 +287,7 @@ Ext.ns("Icinga.Cronks.util").FilterEditor = Ext.extend(Ext.tree.TreePanel, {
                 event.preventDefault();
                 if(!node.parentNode)
                     return false;
-                this.addFilterTo(node,this.labelFilterMap[node.filterAttributes.label || node.id],true);
+                this.addFilterTo(node,this.labelFilterMap[node.filterAttributes.label || node.id],true);
                
             },
             contextmenu: function(node,event) {
@@ -301,7 +301,7 @@ Ext.ns("Icinga.Cronks.util").FilterEditor = Ext.extend(Ext.tree.TreePanel, {
                         hidden: node.filterType != "filter",
                         handler: function() {
 
-                            this.addFilterTo(node,this.labelFilterMap[node.filterAttributes.label || node.id],true);
+                            this.addFilterTo(node,this.labelFilterMap[node.filterAttributes.label || node.id],true);
                         },
                         scope: this
                     },{





More information about the icinga-checkins mailing list