From 5221ad68f96817bbcb49557ce18cce42082711f8 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 28 Mar 2018 11:05:48 +0200 Subject: [PATCH] Set dialog button icons from Api instead of etemplate --- api/js/etemplate/et2_widget_dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_dialog.js b/api/js/etemplate/et2_widget_dialog.js index 4bbed5ca69..8d65d8a029 100644 --- a/api/js/etemplate/et2_widget_dialog.js +++ b/api/js/etemplate/et2_widget_dialog.js @@ -393,7 +393,7 @@ var et2_dialog = (function(){ "use strict"; return et2_widget.extend( } if (button.image) { - button.style = 'background-image: url('+this.egw().image(button.image,'etemplate')+')'; + button.style = 'background-image: url('+this.egw().image(button.image,'api')+')'; delete button.image; } }