Fix templates creating unwanted namespaces

This commit is contained in:
Nathan Gray 2013-03-20 16:16:12 +00:00
parent b13ccf631c
commit 3142b9fd1f

View File

@ -139,6 +139,8 @@ var et2_template = et2_DOMWidget.extend({
/**
* Override parent to support content attribute
* Templates always have ID set, but seldom do we want them to
* create a namespace based on their ID.
*/
checkCreateNamespace: function() {
if(this.content)
@ -147,10 +149,6 @@ var et2_template = et2_DOMWidget.extend({
this.id = this.content;
this._super.apply(this, arguments);
}
else
{
this._super.apply(this, arguments);
}
},
getDOMNode: function() {