mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +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
|
* 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() {
|
checkCreateNamespace: function() {
|
||||||
if(this.content)
|
if(this.content)
|
||||||
@ -147,10 +149,6 @@ var et2_template = et2_DOMWidget.extend({
|
|||||||
this.id = this.content;
|
this.id = this.content;
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
this._super.apply(this, arguments);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getDOMNode: function() {
|
getDOMNode: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user