using current app, if no or empty source given

This commit is contained in:
Ralf Becker 2014-03-06 07:50:06 +00:00
parent e44537a46d
commit e41fbe59ff

View File

@ -254,6 +254,7 @@ var et2_appicon = et2_image.extend(
set_src: function(_app)
{
if (!_app) _app = this.egw().app_name();
this._super.call(this, _app == 'sitemgr-link' ? 'sitemgr/sitemgr-link' : // got removed from jdots
(this.egw().app(_app, 'icon_app') || _app)+'/'+(this.egw().app(_app, 'icon') || 'navbar'));
}