fix editorsidebar

This commit is contained in:
Luke Pulverenti 2017-01-26 22:55:04 -05:00
parent bbf347a3fd
commit 03ead52b22

View file

@ -280,13 +280,17 @@
collectionType: node.li_attr.collectiontype collectionType: node.li_attr.collectiontype
}; };
if (eventData.itemType != 'livetv' && eventData.itemType != 'mediafolders' && eventData.serverItemType != 'UserView' && eventData.serverItemType != 'CollectionFolder' && !eventData.collectionType) { if (eventData.itemType != 'livetv' && eventData.itemType != 'mediafolders') {
this.dispatchEvent(new CustomEvent('itemclicked', { // We'd like to prevent these from being editable but this removes the ability to perform a top level refresh
detail: eventData, //if (eventData.serverItemType != 'UserView' && eventData.serverItemType != 'CollectionFolder' && !eventData.collectionType)
bubbles: true, {
cancelable: false this.dispatchEvent(new CustomEvent('itemclicked', {
})); detail: eventData,
bubbles: true,
cancelable: false
}));
}
} }
} }