Set dialog button icons from Api instead of etemplate

This commit is contained in:
Hadi Nategh 2018-03-28 11:05:48 +02:00
parent b3c26e351c
commit 747d45e47c

View File

@ -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;
}
}