ui: tape/TapeInventory.js - avoid update changer status
We do not update changer status by default - only when pressing "Reload" button.
This commit is contained in:
parent
9d42fe4d3b
commit
65535670f9
@ -103,7 +103,15 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
reload: function() {
|
reload: function() {
|
||||||
this.getView().getStore().load();
|
this.getView().getStore().load({
|
||||||
|
params: { 'update-status': false }
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
reload_update_status: function() {
|
||||||
|
this.getView().getStore().load({
|
||||||
|
params: { 'update-status': true }
|
||||||
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -121,7 +129,7 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
|
|||||||
tbar: [
|
tbar: [
|
||||||
{
|
{
|
||||||
text: gettext('Reload'),
|
text: gettext('Reload'),
|
||||||
handler: 'reload',
|
handler: 'reload_update_status',
|
||||||
},
|
},
|
||||||
'-',
|
'-',
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user