Can't forget to reset the ID (template name), or it might not be able to load the template

This commit is contained in:
Nathan Gray 2013-06-03 23:05:02 +00:00
parent 0a33ad8eae
commit 4d13f3170f

View File

@ -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;
}
},