Close socket on catalog item change 86/886/1
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Fri, 6 Jan 2017 20:02:32 +0000 (15:02 -0500)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Fri, 6 Jan 2017 20:02:32 +0000 (15:02 -0500)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/composer/src/src/stores/ComposerAppStore.js

index 4f27868..854864b 100644 (file)
@@ -209,6 +209,7 @@ class ComposerAppStore {
 
        editCatalogItem(item) {
                let self = this;
+               self.closeFileManagerSockets();
                if (item && item.uiState) {
                        item.uiState.isOpenForEdit = true;
                        if (item.uiState.type !== 'nsd') {