mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-15 18:38:57 +01:00
Avoid 'undefined' showing up in attributes when variable or value is missing
This commit is contained in:
parent
234832d1f0
commit
a7654f7952
@ -329,7 +329,7 @@
|
|||||||
"]";
|
"]";
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return '(typeof _'+_variable.variable+' != "undefined" && typeof '+result + '!="undefined" ? ' + result + ':"")';
|
||||||
}
|
}
|
||||||
|
|
||||||
_throwCompilerErr("Variable $" + _variable.variable + " is not defined.");
|
_throwCompilerErr("Variable $" + _variable.variable + " is not defined.");
|
||||||
|
Loading…
Reference in New Issue
Block a user