From e41fbe59ff1f25b51d3cad0511c80895296fc64c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 6 Mar 2014 07:50:06 +0000 Subject: [PATCH] using current app, if no or empty source given --- etemplate/js/et2_widget_image.js | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/js/et2_widget_image.js b/etemplate/js/et2_widget_image.js index 55ffa77467..25275f252e 100644 --- a/etemplate/js/et2_widget_image.js +++ b/etemplate/js/et2_widget_image.js @@ -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')); }