     events:
       "click .js-close-row-selector": "shrink"
       "submit .row__questiontypes__form": "show_picker"
-      "click .questiontypelist__item": "selectMenuItem"
     initialize: (opts)->
       @options = opts
       @ngScope = opts.ngScope

        menurow = $("<div>", class: "questiontypelist__row").appendTo $menu
        for mitem, i in mrow
          menurow.append $viewTemplates.$$render('xlfRowSelector.cell', mitem.attributes)

    shrink: ->
      # click .js-close-row-selector

      @question_name = @line.find('input').val()
      @line.empty()
      $.scrollTo @line, 200, offset: -300

      @line.html $viewTemplates.$$render('xlfRowSelector.line', "")
      @line.find('.row__questiontypes__new-question-name').val(@question_name)
      $menu = @line.find(".row__questiontypes__list")
