Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
* UI Guidelines: Grid Filter (refs #1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis Mosshammer committed Feb 23, 2012
1 parent a4896de commit da0ef1a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions app/modules/Cronks/lib/js/grid/IcingaGridFilterHandler.js
Expand Up @@ -57,7 +57,8 @@ Cronk.util.GridFilterWindow = function() {
// layout: 'fit',

defaults: {
border: false
border: false,
padding: 5
},

listeners: {
Expand Down Expand Up @@ -121,26 +122,27 @@ Cronk.util.GridFilterWindow = function() {
},
scope: pub
},

bbar: {
tbar: [{
text: _("Reset"),
iconCls: 'icinga-icon-delete',
handler: function(b, y) {
pub.resetFilterForm();
}

}],
buttons: {
items: [{
text: _("Apply"),
iconCls: 'icinga-icon-accept',
handler: function(b, e) {
pub.applyFilters();
}
},{
text: _("Discard"),
text: _("Cancel"),
iconCls: 'icinga-icon-cross',
handler: function(b, y) {
oWin.hide();
}
}, '-',{
text: _("Reset"),
iconCls: 'icinga-icon-delete',
handler: function(b, y) {
pub.resetFilterForm();
}
}]
}
});
Expand Down

0 comments on commit da0ef1a

Please sign in to comment.