mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Downgrade error about overwriting value, id exists twice to warning.
Stop warning about duplicate IDs in children of header bar, those values are part of nextmatch.
This commit is contained in:
parent
086da0881f
commit
ca92b22daf
@ -547,8 +547,12 @@ etemplate2.prototype.getValues = function(_root)
|
|||||||
// Check whether the entry is really undefined
|
// Check whether the entry is really undefined
|
||||||
if (typeof _target[id] != "undefined" && (typeof _target[id] != 'object' || typeof value != 'object'))
|
if (typeof _target[id] != "undefined" && (typeof _target[id] != 'object' || typeof value != 'object'))
|
||||||
{
|
{
|
||||||
egw.debug("error", _widget, "Overwriting value of '" + _widget.id +
|
// Don't warn about children of nextmatch header - they're part of nm value
|
||||||
"', id exists twice!");
|
if(!_widget.getParent().instanceOf(et2_nextmatch_header_bar))
|
||||||
|
{
|
||||||
|
egw.debug("warn", _widget, "Overwriting value of '" + _widget.id +
|
||||||
|
"', id exists twice!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Store the value of the widget and reset its dirty flag
|
// Store the value of the widget and reset its dirty flag
|
||||||
|
Loading…
Reference in New Issue
Block a user