diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 486ef58cc..3387c8a6a 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -292,6 +292,13 @@ pandora.ui.entitiesDialog = function(options) { } }); + that.superClose = that.close; + that.close = function() { + Ox.Request.clearCache('findEntities'); + that.superClose(); + delete pandora.$ui.documentsDialog; + }; + selectEntities(); function addEntity() {