Silence some missing attribute settings warnings and fix warning about not loading app.js when it was already loaded

This commit is contained in:
Nathan Gray
2013-08-14 18:01:22 +00:00
parent 42e66e9319
commit eec6791213
4 changed files with 21 additions and 2 deletions

View File

@ -201,7 +201,7 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback)
{
(function() { new app[appname]();}).call();
}
else
else if (typeof app[appname] !== "object")
{
egw.debug("warn", "Did not load '%s' JS object",appname);
}