 ns = @edsc.models.ui
 data = @edsc.models.data
 
-ns.DatasetsList = do ($=jQuery, DatasetsModel=data.Datasets, GranulesList=ns.GranulesList) ->
+ns.DatasetsList = do ($=jQuery, config = @edsc.config, DatasetsModel=data.Datasets, GranulesList=ns.GranulesList) ->
 
   class DatasetsList
     constructor: (@query, @datasets, @project) ->


    unfocusDataset: =>
      if @focused()?
        setTimeout((=> @focused(null)), 400)

    _readFocused: ->
      current = @_focusedList

        @_focusedList = null
      else if current?.dataset != dataset
        current?.dispose()
        clearTimeout(@_unfocusTimeout)
        @_focusedList = new GranulesList(dataset)
      @_focusedList

