From 4d13f3170fe63d9e69927732480570f742ed948a Mon Sep 17 00:00:00 2001
From: Nathan Gray <nathangray.bsc@gmail.com>
Date: Mon, 3 Jun 2013 23:05:02 +0000
Subject: [PATCH] Can't forget to reset the ID (template name), or it might not
 be able to load the template

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

diff --git a/etemplate/js/et2_widget_template.js b/etemplate/js/et2_widget_template.js
index cc5a151fcb..abe58b3d5b 100644
--- a/etemplate/js/et2_widget_template.js
+++ b/etemplate/js/et2_widget_template.js
@@ -157,6 +157,7 @@ var et2_template = et2_DOMWidget.extend(
 			var old_id = this.id;
 			this.id = this.content;
 			this._super.apply(this, arguments);
+			this.id = old_id;
 		}
 	},