mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +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
3740586d07
commit
e1690a1dc1
@ -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