Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function.

This commit is contained in:
Andreas Stöckel
2012-03-05 13:07:38 +00:00
parent a5be6a5016
commit d310b14ecf
30 changed files with 1087 additions and 278 deletions

View File

@ -273,7 +273,7 @@
"created": new Date().getTime(),
"class": className
}
et2_debug("log", "*" + this.__OBJ_UID + " (" + className + ")");
egw.debug("log", "*" + this.__OBJ_UID + " (" + className + ")");
}
if (this.init)
@ -323,7 +323,7 @@
if (getMem_freeMem_trace)
{
delete(tracedObjects[this.__OBJ_UID]);
et2_debug("log", "-" + this.__OBJ_UID);
egw.debug("log", "-" + this.__OBJ_UID);
}
// Delete every object entry
@ -382,7 +382,7 @@
}
else
{
et2_debug("error", this, "Attribute '" + _name + "' does not exist!");
egw.debug("error", this, "Attribute '" + _name + "' does not exist!");
}
};
@ -417,7 +417,7 @@
}
else
{
et2_debug("warn", this, "Attribute '" + _name + "' does not exist!");
egw.debug("warn", this, "Attribute '" + _name + "' does not exist!");
}
};
@ -445,7 +445,7 @@
{
// Key does not exist - delete it and issue a warning
delete(_attrs[key]);
et2_debug("warn", this, "Attribute '" + key +
egw.debug("warn", this, "Attribute '" + key +
"' does not exist in " + _attrs.type+"!");
}
}