From bd0f1c0e2972bd63a278376193996efaa522825c Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 18 Dec 2015 16:20:58 +0000 Subject: [PATCH] keep the references keys. --- .../ide/references-search/ReferencesSearchManager.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/web/public/coffee/ide/references-search/ReferencesSearchManager.coffee b/services/web/public/coffee/ide/references-search/ReferencesSearchManager.coffee index 6070a5389c..739d435158 100644 --- a/services/web/public/coffee/ide/references-search/ReferencesSearchManager.coffee +++ b/services/web/public/coffee/ide/references-search/ReferencesSearchManager.coffee @@ -3,6 +3,10 @@ define [ class ReferencesSearchManager constructor: (@ide, @$scope) -> + @state = + keys: [] + @$scope.references = @state + @$scope.$on 'document:closed', (e, doc) => if doc.doc_id entity = @ide.fileTreeManager.findEntityById doc.doc_id @@ -35,4 +39,5 @@ define [ (data) => console.log ">> got keys" console.log(data) + @state.keys = data.keys )