 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) ->

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


      @_hasFocus(focus?)
      @_focusedList?.dispose()
      @_focusedList = focus
      clearTimeout(@_unfocusTimeout)
      dataset = focus?.dataset
      @project.focus(dataset) if dataset || !@_hasSelected()

    _readSelected: ->
      if @_hasSelected()
