mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
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:
@ -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,
|
||||
|
Reference in New Issue
Block a user