commit d2c836053685149c3b2928b5bc538040c4337295
parent 352753389c082fe10a2f62ff4d0a695dac5509fb
Author: Timo A. Hummel <timo@netraver.de>
Date: Mon, 6 Jun 2011 21:51:58 +0200
Added icons for the grid buttons
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/frontend/js/Components/Part/PartDistributorGrid.js b/frontend/js/Components/Part/PartDistributorGrid.js
@@ -24,6 +24,7 @@ Ext.define('PartDB2.PartDistributorGrid', {
disabled: true,
itemId: 'delete',
scope: this,
+ icon: 'resources/silkicons/lorry_delete.png',
handler: this.onDeleteClick
});
@@ -32,6 +33,7 @@ Ext.define('PartDB2.PartDistributorGrid', {
items: [{
text: 'Add',
scope: this,
+ icon: 'resources/silkicons/lorry_add.png',
handler: this.onAddClick
}, this.deleteButton]
}];
diff --git a/frontend/js/Components/Part/PartManufacturerGrid.js b/frontend/js/Components/Part/PartManufacturerGrid.js
@@ -24,6 +24,7 @@ Ext.define('PartDB2.PartManufacturerGrid', {
disabled: true,
itemId: 'delete',
scope: this,
+ icon: 'resources/silkicons/building_delete.png',
handler: this.onDeleteClick
});
@@ -32,6 +33,7 @@ Ext.define('PartDB2.PartManufacturerGrid', {
items: [{
text: 'Add',
scope: this,
+ icon: 'resources/silkicons/building_add.png',
handler: this.onAddClick
}, this.deleteButton]
}];