[icinga-checkins] icinga.org: icinga-web/r1.6: * Fixed JS bug while creating SearchBox ( fixes #2190)

git at icinga.org git at icinga.org
Fri Dec 16 14:53:19 CET 2011


Module: icinga-web
Branch: r1.6
Commit: 5a3d5d297403cf8c55edae74b78316b73548f40f
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=5a3d5d297403cf8c55edae74b78316b73548f40f

Author: Marius Hein <marius.hein at netways.de>
Date:   Fri Dec 16 11:50:31 2011 +0100

* Fixed JS bug while creating SearchBox (fixes #2190)

---

 app/modules/AppKit/lib/js/AppKitNavBar.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/AppKit/lib/js/AppKitNavBar.js b/app/modules/AppKit/lib/js/AppKitNavBar.js
index 78f8634..d9355bf 100644
--- a/app/modules/AppKit/lib/js/AppKitNavBar.js
+++ b/app/modules/AppKit/lib/js/AppKitNavBar.js
@@ -119,7 +119,7 @@ AppKit.util.AppKitNavBar = Ext.extend(Ext.Container,{
     },
     
     addSearchBox : function(itemsCfg) {
-    	item = new AppKit.search.Searchbox();
+    	var item = new AppKit.search.Searchbox();
     	
     	AppKit.search.SearchHandler.setSearchbox(item);
     	





More information about the icinga-checkins mailing list