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 e1356f3086
commit 5221ad68f9

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