diff --git a/www/datastore/Summary.js b/www/datastore/Summary.js index 25a7b6e5..998b6297 100644 --- a/www/datastore/Summary.js +++ b/www/datastore/Summary.js @@ -86,7 +86,7 @@ Ext.define('PBS.DataStoreInfo', { listeners: { activate: 'startStore', - destroy: 'stopStore', + beforedestroy: 'stopStore', deactivate: 'stopStore', }, diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js index 51ba6ffa..0fad11b3 100644 --- a/www/tape/ChangerStatus.js +++ b/www/tape/ChangerStatus.js @@ -668,7 +668,7 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { listeners: { deactivate: 'cancelReload', - destroy: 'cancelReload', + beforedestroy: 'cancelReload', }, tbar: [