mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
Don't try to load disabled templates
Allows us to disable / not load templates even if they have template / ID
This commit is contained in:
parent
d27cb07ceb
commit
73723eff5a
@ -105,7 +105,7 @@ export class et2_template extends et2_DOMWidget
|
||||
this.options = et2_cloneObject(_attrs);
|
||||
_attrs = {};
|
||||
}
|
||||
if(this.id != "" || this.options.template)
|
||||
if((this.id != "" || this.options.template) && !this.options.disabled)
|
||||
{
|
||||
var parts = (this.options.template || this.id).split('?');
|
||||
var cache_buster = parts.length > 1 ? parts.pop() : null;
|
||||
|
Loading…
Reference in New Issue
Block a user