       @
     _renderRow: ->
       @$el.html $viewTemplates.$$render('row.xlfRowView')
-
+      @$('.js-add-to-question-library').click @add_row_to_question_library
       @$label = @$('.card__header-title')
       @$card = @$el.find('.card')
       if 'getList' of @model and (cl = @model.getList())

        view.renderInRowView(@)

      @
    add_row_to_question_library: (evt) ->
      evt.stopPropagation()
      @ngScope.add_row_to_question_library @model


    events:
     # "click .js-expand-row-selector": "expandRowSelector"
     "drop": "drop"
     #"click .js-add-to-question-library": "add_row_to_question_library"

    initialize: (opts)->
      @options = opts
