mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 22:21:34 +01:00
using current app, if no or empty source given
This commit is contained in:
parent
e44537a46d
commit
e41fbe59ff
@ -254,6 +254,7 @@ var et2_appicon = et2_image.extend(
|
|||||||
|
|
||||||
set_src: function(_app)
|
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._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'));
|
(this.egw().app(_app, 'icon_app') || _app)+'/'+(this.egw().app(_app, 'icon') || 'navbar'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user