Fix some missing / incorrect icons

- Addressbook advanced search was from default
- Add favorite dialog had no icons on buttons
- All dialogs using standard button sets were either missing or from default theme
- Mail confirm all was missing Yes icon
This commit is contained in:
nathangray
2016-10-27 09:03:26 -06:00
parent 8f1a792904
commit b3730be7e0
5 changed files with 15 additions and 10 deletions

View File

@ -739,6 +739,7 @@ var AppJS = (function(){ "use strict"; return Class.extend(
buttons['save'] = {
text: this.egw.lang('save'),
default: true,
style: 'background-image: url('+this.egw.image('save')+')',
click: function() {
// Add a new favorite
var name = jQuery("#name",this);
@ -807,14 +808,18 @@ var AppJS = (function(){ "use strict"; return Class.extend(
jQuery(this).dialog("close");
}
};
buttons[this.egw.lang("cancel")] = function() {
if(typeof self.favorite_popup.group !== 'undefined' && self.favorite_popup.group.set_value)
{
self.favorite_popup.group.set_value(null);
buttons['cancel'] = {
text: this.egw.lang("cancel"),
style: 'background-image: url('+this.egw.image('cancel')+')',
click: function() {
if(typeof self.favorite_popup.group !== 'undefined' && self.favorite_popup.group.set_value)
{
self.favorite_popup.group.set_value(null);
}
jQuery(this).dialog("close");
}
jQuery(this).dialog("close");
};
this.favorite_popup.dialog({
autoOpen: false,
modal: true,