id: me.getId() + "-add",
xtype: "button",
text: me.addButtonText,
- icon: "images/add.png",
+ icon: "images/zfs_addpool.png",
iconCls: Ext.baseCSSPrefix + "btn-icon-16x16",
hidden: me.hideAddButton,
handler: Ext.Function.bind(me.onAddButton, me, [ me ]),
id: me.getId() + "-addobj",
xtype: "button",
text: me.addObjButtonText,
- icon: "images/add.png",
+ icon: "images/zfs_addobject.png",
iconCls: Ext.baseCSSPrefix + "btn-icon-16x16",
hidden: me.hideAddObjButton,
handler: Ext.Function.bind(me.onAddObjButton, me, [ me ]),
tbarBtnHidden["delete"] = false;
tbarBtnHidden["expand"] = true;
}
- //Disable 'AddObj' button if selected row is a Snapshot
+ //Disable 'AddObj' button if selected row is a Clone
Ext.Array.each(records, function(record) {
- if("Snapshot" == record.get("type")) {
+ if("Clone" == record.get("type")) {
tbarBtnDisabled["addobj"] = true;
tbarBtnHidden["addobj"] = true;
return false;