mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix templates creating unwanted namespaces
This commit is contained in:
parent
b13ccf631c
commit
3142b9fd1f
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user