mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
fix invalid debug-level "warning", has to be "warn"
This commit is contained in:
parent
dbb6adf806
commit
3a140463e8
@ -794,7 +794,7 @@ var et2_widget = Class.extend(
|
||||
if(warn_if_deferred)
|
||||
{
|
||||
// Might not be a problem, but if you need the widget to be really loaded, it could be
|
||||
egw.debug("warning", "Loading was deferred for widget %o, but creator is not checking. Pass a list to loadingFinished().");
|
||||
egw.debug("warn", "Loading was deferred for widget %o, but creator is not checking. Pass a list to loadingFinished().", this);
|
||||
}
|
||||
// Widget is waiting. Add to the list
|
||||
promises.push(result);
|
||||
|
@ -458,7 +458,7 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],
|
||||
_needsDiffWidget: function(columnName, value) {
|
||||
if(typeof value !== "string")
|
||||
{
|
||||
this.egw().debug("warning", "Crazy diff value", value);
|
||||
this.egw().debug("warn", "Crazy diff value", value);
|
||||
return false;
|
||||
}
|
||||
return columnName == 'note' || columnName == 'description' || (value && (value.length > 50 || value.match(/\n/g)));
|
||||
|
@ -563,7 +563,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
{
|
||||
if(jQuery("input[value='"+_value+"']", this.multiOptions).prop("checked", true).length == 0)
|
||||
{
|
||||
this.egw().debug("warning", "Tried to set value that isn't an option", this, _value);
|
||||
this.egw().debug("warn", "Tried to set value that isn't an option", this, _value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user