From 545b35de5bcc1ae1d540cf1002eec720f65e348e Mon Sep 17 00:00:00 2001
From: Hadi Nategh <hn@stylite.de>
Date: Tue, 24 Jun 2014 12:40:25 +0000
Subject: [PATCH] Declare a non declared variable which was messing with app
 global object

---
 etemplate/js/et2_extension_nextmatch.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js
index 6062c89a0c..82a6f5f128 100644
--- a/etemplate/js/et2_extension_nextmatch.js
+++ b/etemplate/js/et2_extension_nextmatch.js
@@ -815,6 +815,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
 	 */
 	_updateUserPreferences: function() {
 		var colMgr = this.dataview.getColumnMgr();
+		var app = "";
 		if(!this.options.settings.columnselection_pref) {
 			this.options.settings.columnselection_pref = this.options.template;
 		}