adding et2_appicon class

This commit is contained in:
Ralf Becker 2014-08-21 09:47:50 +00:00
parent 7ca4255e25
commit 92131c0619

View File

@ -255,6 +255,7 @@ var et2_appicon = et2_image.extend(
set_src: function(_app) set_src: function(_app)
{ {
if (!_app) _app = this.egw().app_name(); if (!_app) _app = this.egw().app_name();
this.image.addClass('et2_appicon');
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'));
} }